Exemplo n.º 1
0
        public void Justify(Slot start, Font font, double width, JustFlags flags, Slot first, Slot last)
        {
            IntPtr firstPtr = first != null ? first.SlotPtr : IntPtr.Zero;
            IntPtr lastPtr  = last != null ? last.SlotPtr : IntPtr.Zero;

            Graphite2Api.SegJustify(_segment, start.SlotPtr, font.FontPtr, width, flags, firstPtr, lastPtr);
        }
Exemplo n.º 2
0
 public void Justify(Slot start, Font font, double width, JustFlags flags, Slot first, Slot last)
 {
     IntPtr firstPtr = first != null ? first.SlotPtr : IntPtr.Zero;
     IntPtr lastPtr = last != null ? last.SlotPtr : IntPtr.Zero;
     Graphite2Api.SegJustify(_segment, start.SlotPtr, font.FontPtr, width, flags, firstPtr, lastPtr);
 }
Exemplo n.º 3
0
 internal static extern void SegJustify(/*gr_segment**/ IntPtr pSeg /*not NULL*/, /*gr_slot**/ IntPtr pStart /*not NULL*/, /*gr_font **/ IntPtr pFont, double width, JustFlags flags, /*gr_slot**/ IntPtr pFirst, /*gr_slot**/ IntPtr pLast);
 internal static extern void SegJustify(/*gr_segment**/IntPtr pSeg/*not NULL*/, /*gr_slot**/IntPtr pStart/*not NULL*/, /*gr_font **/ IntPtr pFont, double width, JustFlags flags, /*gr_slot**/IntPtr pFirst, /*gr_slot**/IntPtr pLast);