Пример #1
0
 public static Offset <KerningData> CreateKerningData(FlatBufferBuilder builder,
                                                      uint character = 0,
                                                      float kerning  = 0)
 {
     builder.StartObject(2);
     KerningData.AddKerning(builder, kerning);
     KerningData.AddCharacter(builder, character);
     return(KerningData.EndKerningData(builder));
 }
Пример #2
0
 public static KerningData GetRootAsKerningData(ByteBuffer _bb, KerningData obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
Пример #3
0
 public KerningData GetKerningList(KerningData obj, int j)
 {
     int o = __offset(26); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }