Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public void SetVerticalGlyphAdvanceDelegate(GlyphAdvanceDelegate del) =>
 SetVerticalGlyphAdvanceDelegate(del, null);
Exemplo n.º 3
0
 public void SetHorizontalGlyphAdvanceDelegate(GlyphAdvanceDelegate del) =>
 SetHorizontalGlyphAdvanceDelegate(del, null);