Beispiel #1
0
        public void SetHorizontalGlyphAdvanceDelegate(GlyphAdvanceDelegate del, ReleaseDelegate destroy)
        {
            VerifyParameters(del);

            var ctx = DelegateProxies.CreateMulti(del, destroy);

            HarfBuzzApi.hb_font_funcs_set_glyph_h_advance_func(Handle, DelegateProxies.GlyphAdvanceProxy, ctx, DelegateProxies.ReleaseDelegateProxyForMulti);
        }
Beispiel #2
0
 public void SetVerticalGlyphAdvanceDelegate(GlyphAdvanceDelegate del) =>
 SetVerticalGlyphAdvanceDelegate(del, null);
Beispiel #3
0
 public void SetHorizontalGlyphAdvanceDelegate(GlyphAdvanceDelegate del) =>
 SetHorizontalGlyphAdvanceDelegate(del, null);