Beispiel #1
0
 public void SetFont(CGFont font)
 {
     CGContextSetFont(handle, font.handle);
 }
Beispiel #2
0
 public void SetFont(CGFont font)
 {
     if (font == null)
         throw new ArgumentNullException ("font");
     _Font = font.Handle;
 }
Beispiel #3
0
		public void SetFont (CGFont font)
		{
			CGContextSetFont (handle, font.handle);
		}
		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;
		}