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