Exemple #1
0
 public int Attr(Segment seg, AttrCode index, byte subindex)
 {
     return(Graphite2Api.SlotAttr(_slot, seg.SegPtr, index, subindex));
 }
 internal static extern int SlotAttr(/*gr_slot**/IntPtr p/*not NULL*/, /*gr_segment**/IntPtr pSeg/*not NULL*/, AttrCode index, byte subindex);
 internal static extern int SlotAttr(/*gr_slot**/ IntPtr p /*not NULL*/, /*gr_segment**/ IntPtr pSeg /*not NULL*/, AttrCode index, byte subindex);     //tbd - do we need to expose this?
 public int Attr(Segment seg, AttrCode index, byte subindex)
 {
     return Graphite2Api.SlotAttr(_slot, seg.SegPtr, index, subindex);
 }