示例#1
0
		public unsafe void ShowCGGlyphs (
			short[] /* const CGGlyph* = CGFontIndex* = unsigned short* */ glyphs,
			CGPoint[] /* const CGPoint* */ positions,
			nuint /* NSUInteger */ glyphCount,
			UIFont font,
			CGAffineTransform textMatrix,
			NSDictionary attributes,
			CGContext graphicsContext)
		{
			fixed (short* gl = glyphs) {
				fixed (CGPoint* pos = positions) {
					ShowCGGlyphsInternal ((IntPtr) gl, (IntPtr) pos, glyphCount, font, textMatrix, attributes, graphicsContext);
				}
			}
		}
示例#2
0
		unsafe extern static void CGPathAddRelativeArc (/* CGMutablePathRef */ IntPtr path, CGAffineTransform *m, /* CGFloat */ nfloat x, /* CGFloat */ nfloat y, /* CGFloat */ nfloat radius, /* CGFloat */ nfloat startAngle, /* CGFloat */ nfloat delta);
示例#3
0
		unsafe extern static void CGPathAddArcToPoint (/* CGMutablePathRef */ IntPtr path, CGAffineTransform *m, /* CGFloat */ nfloat x1, /* CGFloat */ nfloat y1, /* CGFloat */ nfloat x2, /* CGFloat */ nfloat y2, /* CGFloat */ nfloat radius);
示例#4
0
 public extern static bool bool_objc_msgSendSuper_CMTime_CGAffineTransform_CGAffineTransform_CMTimeRange(IntPtr receiver, IntPtr selector, XamCore.CoreMedia.CMTime arg1, XamCore.CoreGraphics.CGAffineTransform arg2, XamCore.CoreGraphics.CGAffineTransform arg3, XamCore.CoreMedia.CMTimeRange arg4);
示例#5
0
		static public unsafe CGPath FromRoundedRect (CGRect rectangle, nfloat cornerWidth, nfloat cornerHeight, CGAffineTransform transform)
		{
			return MakeMutable (CGPathCreateWithRoundedRect (rectangle, cornerWidth, cornerHeight, &transform));
		}
示例#6
0
		static public unsafe CGPath EllipseFromRect (CGRect boundingRect, CGAffineTransform transform)
		{
			return MakeMutable (CGPathCreateWithEllipseInRect (boundingRect, &transform));
		}
示例#7
0
		public unsafe CGPath CopyByStrokingPath (CGAffineTransform transform, nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, nfloat miterLimit)
		{
			return MakeMutable (CGPathCreateCopyByStrokingPath (handle, &transform, lineWidth, lineCap, lineJoin, miterLimit));
		}
示例#8
0
		extern unsafe static IntPtr CGPathCreateCopyByDashingPath (
			/* CGPathRef */ IntPtr path, 
			/* const CGAffineTransform * */ CGAffineTransform *transform, 
			/* CGFloat */ nfloat phase,
			/* CGFloat */ nfloat [] lengths,
			/* size_t */ nint count);
示例#9
0
 public unsafe void AddRects(CGAffineTransform m, CGPoint [] points, int count)
示例#10
0
 public unsafe void AddRect(CGAffineTransform transform, CGRect rect)
 {
     CGPathAddRect(handle, &transform, rect);
 }
示例#11
0
 public unsafe void AddCurveToPoint(CGAffineTransform transform, CGPoint cp1, CGPoint cp2, CGPoint point)
 {
     CGPathAddCurveToPoint(handle, &transform, cp1.X, cp1.Y, cp2.X, cp2.Y, point.X, point.Y);
 }
示例#12
0
 public unsafe void AddCurveToPoint(CGAffineTransform transform, nfloat cp1x, nfloat cp1y, nfloat cp2x, nfloat cp2y, nfloat x, nfloat y)
 {
     CGPathAddCurveToPoint(handle, &transform, cp1x, cp1y, cp2x, cp2y, x, y);
 }
示例#13
0
 public unsafe void AddLineToPoint(CGAffineTransform transform, CGPoint point)
 {
     CGPathAddLineToPoint(handle, &transform, point.X, point.Y);
 }
示例#14
0
 public unsafe void AddLineToPoint(CGAffineTransform transform, nfloat x, nfloat y)
 {
     CGPathAddLineToPoint(handle, &transform, x, y);
 }
示例#15
0
		unsafe extern static void CGPathAddPath (/* CGMutablePathRef */ IntPtr path1, CGAffineTransform *m, /* CGMutablePathRef */ IntPtr path2);
示例#16
0
		unsafe extern static bool CGPathContainsPoint(IntPtr path, CGAffineTransform *m, CGPoint point, bool eoFill);
示例#17
0
 public unsafe void AddElipseInRect(CGAffineTransform m, CGRect rect)
 {
     CGPathAddEllipseInRect(handle, &m, rect);
 }
示例#18
0
		public unsafe CGPath CopyByDashingPath (CGAffineTransform transform, nfloat [] lengths, nfloat phase)
		{
			return MakeMutable (CGPathCreateCopyByDashingPath (handle, &transform, phase, lengths, lengths == null ? 0 : lengths.Length));
		}
示例#19
0
 public unsafe void AddArc(CGAffineTransform m, nfloat x, nfloat y, nfloat radius, nfloat startAngle, nfloat endAngle, bool clockwise)
 {
     CGPathAddArc(handle, &m, x, y, radius, startAngle, endAngle, clockwise);
 }
示例#20
0
		public CGPath CopyByTransformingPath (CGAffineTransform transform)
		{
			return MakeMutable (CGPathCreateCopyByTransformingPath (handle, ref transform));
		}
示例#21
0
 public unsafe void AddArcToPoint(CGAffineTransform m, nfloat x1, nfloat y1, nfloat x2, nfloat y2, nfloat radius)
 {
     CGPathAddArcToPoint(handle, &m, x1, y1, x2, y2, radius);
 }
示例#22
0
		static public unsafe CGPath FromRect (CGRect rectangle, CGAffineTransform transform)
		{
			return MakeMutable (CGPathCreateWithRect (rectangle, &transform));
		}
示例#23
0
 public unsafe void AddRelativeArc(CGAffineTransform m, nfloat x, nfloat y, nfloat radius, nfloat startAngle, nfloat delta)
 {
     CGPathAddRelativeArc(handle, &m, x, y, radius, startAngle, delta);
 }
示例#24
0
		public unsafe void AddRoundedRect (CGAffineTransform transform, CGRect rect, nfloat cornerWidth, nfloat cornerHeight)
		{
			CGPathAddRoundedRect (handle, &transform, rect, cornerWidth, cornerHeight);
		}
示例#25
0
 public unsafe bool ContainsPoint(CGAffineTransform m, CGPoint point, bool eoFill)
 {
     return(CGPathContainsPoint(handle, &m, point, eoFill));
 }
示例#26
0
 [Advice("Use AddLineToPoint instead")]          // Bad name
 public void CGPathAddLineToPoint(CGAffineTransform transform, nfloat x, nfloat y)
 {
     AddLineToPoint(transform, x, y);
 }
示例#27
0
 public CGPath CopyByDashingPath(CGAffineTransform transform, nfloat [] lengths)
 {
     return(CopyByDashingPath(transform, lengths, 0));
 }
示例#28
0
		public unsafe void AddArcToPoint (CGAffineTransform m, nfloat x1, nfloat y1, nfloat x2, nfloat y2, nfloat radius)
		{
			CGPathAddArcToPoint (handle, &m, x1, y1, x2, y2, radius);
		}
示例#29
0
 public unsafe CGPath CopyByDashingPath(CGAffineTransform transform, nfloat [] lengths, nfloat phase)
 {
     return(MakeMutable(CGPathCreateCopyByDashingPath(handle, &transform, phase, lengths, lengths == null ? 0 : lengths.Length)));
 }
示例#30
0
		public unsafe void AddRelativeArc (CGAffineTransform m, nfloat x, nfloat y, nfloat radius, nfloat startAngle, nfloat delta)
		{
			CGPathAddRelativeArc (handle, &m, x, y, radius, startAngle, delta);
		}
示例#31
0
 public unsafe CGPath CopyByStrokingPath(CGAffineTransform transform, nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, nfloat miterLimit)
 {
     return(MakeMutable(CGPathCreateCopyByStrokingPath(handle, &transform, lineWidth, lineCap, lineJoin, miterLimit)));
 }
示例#32
0
		public unsafe void AddPath (CGAffineTransform t, CGPath path2)
		{
			if (path2 == null)
				throw new ArgumentNullException ("path2");
			CGPathAddPath (handle, &t, path2.handle);
		}
示例#33
0
 extern static IntPtr CGPathCreateCopyByTransformingPath(/* CGPathRef */ IntPtr path, ref CGAffineTransform transform);
示例#34
0
		public unsafe bool ContainsPoint (CGAffineTransform m, CGPoint point, bool eoFill)
		{
			return CGPathContainsPoint (handle, &m, point, eoFill);
		}
示例#35
0
 public CGPath CopyByTransformingPath(CGAffineTransform transform)
 {
     return(MakeMutable(CGPathCreateCopyByTransformingPath(handle, ref transform)));
 }
示例#36
0
		public CGPath CopyByDashingPath (CGAffineTransform transform, nfloat [] lengths)
		{
			return CopyByDashingPath (transform, lengths, 0);
		}
示例#37
0
 extern static /* CGMutablePathRef */ IntPtr CGPathCreateMutableCopyByTransformingPath(/* CGPathRef */ IntPtr path, /* const CGAffineTransform* */ ref CGAffineTransform transform);
示例#38
0
		unsafe extern static IntPtr CGPathCreateCopyByStrokingPath (/* CGPathRef */ IntPtr path, CGAffineTransform *transform, nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, /* CGFloat */ nfloat miterLimit);
示例#39
0
 static public unsafe CGPath EllipseFromRect(CGRect boundingRect, CGAffineTransform transform)
 {
     return(MakeMutable(CGPathCreateWithEllipseInRect(boundingRect, &transform)));
 }
示例#40
0
		extern static IntPtr CGPathCreateCopyByTransformingPath (/* CGPathRef */ IntPtr path, ref CGAffineTransform transform);
示例#41
0
 static public unsafe CGPath FromRect(CGRect rectangle, CGAffineTransform transform)
 {
     return(MakeMutable(CGPathCreateWithRect(rectangle, &transform)));
 }
示例#42
0
		extern static /* CGMutablePathRef */ IntPtr CGPathCreateMutableCopyByTransformingPath (/* CGPathRef */ IntPtr path, /* const CGAffineTransform* */ ref CGAffineTransform transform);
示例#43
0
 static public unsafe CGPath FromRoundedRect(CGRect rectangle, nfloat cornerWidth, nfloat cornerHeight, CGAffineTransform transform)
 {
     return(MakeMutable(CGPathCreateWithRoundedRect(rectangle, cornerWidth, cornerHeight, &transform)));
 }
示例#44
0
		unsafe extern static IntPtr CGPathCreateWithRect (CGRect boundingRect, CGAffineTransform *transform);
示例#45
0
 public unsafe void AddRoundedRect(CGAffineTransform transform, CGRect rect, nfloat cornerWidth, nfloat cornerHeight)
 {
     CGPathAddRoundedRect(handle, &transform, rect, cornerWidth, cornerHeight);
 }
示例#46
0
		unsafe extern static /* CGPathRef */ IntPtr CGPathCreateWithRoundedRect (CGRect rect, /* CGFloat */ nfloat cornerWidth, /* CGFloat */ nfloat cornerHeight, CGAffineTransform *transform);
示例#47
0
		unsafe extern static void CGPathAddEllipseInRect (/* CGMutablePathRef */ IntPtr path, CGAffineTransform *m, CGRect rect);
示例#48
0
		unsafe extern static void CGPathAddRoundedRect (/* CGMutablePathRef */ IntPtr path, CGAffineTransform *transform, CGRect rect, /* CGFloat */ nfloat cornerWidth, /* CGFloat */ nfloat cornerHeight);
示例#49
0
		public unsafe void AddElipseInRect (CGAffineTransform m, CGRect rect)
		{
			CGPathAddEllipseInRect (handle, &m, rect);
		}
示例#50
0
		public CGPath (CGPath reference, CGAffineTransform transform)
		{
			if (reference == null)
				throw new ArgumentNullException ("reference");
			handle = CGPathCreateMutableCopyByTransformingPath (reference.Handle, ref transform);
		}
示例#51
0
		unsafe extern static void CGPathAddArc (/* CGMutablePathRef */ IntPtr path, CGAffineTransform *m, /* CGFloat */ nfloat x, /* CGFloat */ nfloat y, /* CGFloat */ nfloat radius, /* CGFloat */ nfloat startAngle, /* CGFloat */ nfloat endAngle, bool clockwise);
示例#52
0
 public static extern CATransform3D MakeFromAffine(CGAffineTransform m);
示例#53
0
		public unsafe void AddArc (CGAffineTransform m, nfloat x, nfloat y, nfloat radius, nfloat startAngle, nfloat endAngle, bool clockwise)
		{
			CGPathAddArc (handle, &m, x, y, radius, startAngle, endAngle, clockwise);
		}