Ejemplo n.º 1
0
 public void SetFont(CGFont font)
 {
     CGContextSetFont(handle, font.handle);
 }
Ejemplo n.º 2
0
 public void SetFont(CGFont font)
 {
     if (font == null)
         throw new ArgumentNullException ("font");
     _Font = font.Handle;
 }
Ejemplo n.º 3
0
		public void SetFont (CGFont font)
		{
			CGContextSetFont (handle, font.handle);
		}
Ejemplo n.º 4
0
		public static bool UnregisterGraphicsFont (CGFont font, out NSError error)
		{
			if (font == null)
				throw new ArgumentNullException ("font");
			IntPtr h;
			var ret = CTFontManagerUnregisterGraphicsFont (font.Handle, out h);
			if (ret)
				error = null;
			else 
				error = new NSError (h);
			return ret;
		}