public void Merge(FontOptions other) { if (other == null) { throw new ArgumentNullException("other"); } CairoAPI.cairo_font_options_merge(handle, other.Handle); }
public void Merge(FontOptions other) { if (other == null) { throw new ArgumentNullException("other"); } CheckDisposed(); NativeMethods.cairo_font_options_merge(handle, other.Handle); }
internal static extern void cairo_ft_font_options_substitute(FontOptions options, IntPtr pattern);
bool Equals (FontOptions options) { return options != null && NativeMethods.cairo_font_options_equal (Handle, options.Handle); }
public void Merge (FontOptions other) { if (other == null) throw new ArgumentNullException ("other"); NativeMethods.cairo_font_options_merge (handle, other.Handle); }
bool Equals(FontOptions options) { return(options != null && NativeMethods.cairo_font_options_equal(Handle, options.Handle)); }
public ScaledFont(FontFace fontFace, Matrix matrix, Matrix ctm, FontOptions options) : this(NativeMethods.cairo_scaled_font_create(fontFace.Handle, matrix, ctm, options.Handle), true) { }
bool Equals(FontOptions options) { return(options != null && CairoAPI.cairo_font_options_equal(Handle, options.Handle)); }
internal static extern void cairo_ft_font_options_substitute (FontOptions options, IntPtr pattern);
public ScaledFont (FontFace fontFace, Matrix matrix, Matrix ctm, FontOptions options) : this (NativeMethods.cairo_scaled_font_create (fontFace.Handle, matrix, ctm, options.Handle), true) { }
static void SetupContext(Context g, string fontName, FontSlant fontSlant, FontWeight fontWeight, double fontSize) { FontOptions fo = new FontOptions(); fo.Antialias = Antialias.Gray; fo.HintStyle = HintStyle.Full; g.FontOptions = fo; g.SelectFontFace(fontName, fontSlant, fontWeight); g.SetFontSize(fontSize); g.Color = new Color(1.0, 1.0, 1.0); }
bool Equals (FontOptions options) { return options != null && CairoAPI.cairo_font_options_equal (Handle, options.Handle); }