Inheritance: IDisposable
Ejemplo n.º 1
0
 public void Merge(FontOptions other)
 {
     if (other == null)
     {
         throw new ArgumentNullException("other");
     }
     CairoAPI.cairo_font_options_merge(handle, other.Handle);
 }
Ejemplo n.º 2
0
 public void Merge(FontOptions other)
 {
     if (other == null)
     {
         throw new ArgumentNullException("other");
     }
     CheckDisposed();
     NativeMethods.cairo_font_options_merge(handle, other.Handle);
 }
Ejemplo n.º 3
0
 internal static extern void cairo_ft_font_options_substitute(FontOptions options, IntPtr pattern);
Ejemplo n.º 4
0
		bool Equals (FontOptions options)
		{
			return options != null && NativeMethods.cairo_font_options_equal (Handle, options.Handle);
		}
Ejemplo n.º 5
0
		public void Merge (FontOptions other)
		{
			if (other == null)
				throw new ArgumentNullException ("other");
			NativeMethods.cairo_font_options_merge (handle, other.Handle);
		}
Ejemplo n.º 6
0
 bool Equals(FontOptions options)
 {
     return(options != null && NativeMethods.cairo_font_options_equal(Handle, options.Handle));
 }
Ejemplo n.º 7
0
 public ScaledFont(FontFace fontFace, Matrix matrix, Matrix ctm, FontOptions options)
     : this(NativeMethods.cairo_scaled_font_create(fontFace.Handle, matrix, ctm, options.Handle), true)
 {
 }
Ejemplo n.º 8
0
 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);
Ejemplo n.º 10
0
		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);
        }
Ejemplo n.º 12
0
		bool Equals (FontOptions options)
		{
			return options != null && CairoAPI.cairo_font_options_equal (Handle, options.Handle);
		}