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);
 }
Esempio 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);
        }