Example #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);
				}
			}
		}
Example #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);
Example #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);
Example #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);
Example #5
0
		static public unsafe CGPath FromRoundedRect (CGRect rectangle, nfloat cornerWidth, nfloat cornerHeight, CGAffineTransform transform)
		{
			return MakeMutable (CGPathCreateWithRoundedRect (rectangle, cornerWidth, cornerHeight, &transform));
		}
Example #6
0
		static public unsafe CGPath EllipseFromRect (CGRect boundingRect, CGAffineTransform transform)
		{
			return MakeMutable (CGPathCreateWithEllipseInRect (boundingRect, &transform));
		}
Example #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));
		}
Example #8
0
		extern unsafe static IntPtr CGPathCreateCopyByDashingPath (
			/* CGPathRef */ IntPtr path, 
			/* const CGAffineTransform * */ CGAffineTransform *transform, 
			/* CGFloat */ nfloat phase,
			/* CGFloat */ nfloat [] lengths,
			/* size_t */ nint count);
Example #9
0
 public unsafe void AddRects(CGAffineTransform m, CGPoint [] points, int count)
Example #10
0
 public unsafe void AddRect(CGAffineTransform transform, CGRect rect)
 {
     CGPathAddRect(handle, &transform, rect);
 }
Example #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);
 }
Example #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);
 }
Example #13
0
 public unsafe void AddLineToPoint(CGAffineTransform transform, CGPoint point)
 {
     CGPathAddLineToPoint(handle, &transform, point.X, point.Y);
 }
Example #14
0
 public unsafe void AddLineToPoint(CGAffineTransform transform, nfloat x, nfloat y)
 {
     CGPathAddLineToPoint(handle, &transform, x, y);
 }
Example #15
0
		unsafe extern static void CGPathAddPath (/* CGMutablePathRef */ IntPtr path1, CGAffineTransform *m, /* CGMutablePathRef */ IntPtr path2);
Example #16
0
		unsafe extern static bool CGPathContainsPoint(IntPtr path, CGAffineTransform *m, CGPoint point, bool eoFill);
Example #17
0
 public unsafe void AddElipseInRect(CGAffineTransform m, CGRect rect)
 {
     CGPathAddEllipseInRect(handle, &m, rect);
 }
Example #18
0
		public unsafe CGPath CopyByDashingPath (CGAffineTransform transform, nfloat [] lengths, nfloat phase)
		{
			return MakeMutable (CGPathCreateCopyByDashingPath (handle, &transform, phase, lengths, lengths == null ? 0 : lengths.Length));
		}
Example #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);
 }
Example #20
0
		public CGPath CopyByTransformingPath (CGAffineTransform transform)
		{
			return MakeMutable (CGPathCreateCopyByTransformingPath (handle, ref transform));
		}
Example #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);
 }
Example #22
0
		static public unsafe CGPath FromRect (CGRect rectangle, CGAffineTransform transform)
		{
			return MakeMutable (CGPathCreateWithRect (rectangle, &transform));
		}
Example #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);
 }
Example #24
0
		public unsafe void AddRoundedRect (CGAffineTransform transform, CGRect rect, nfloat cornerWidth, nfloat cornerHeight)
		{
			CGPathAddRoundedRect (handle, &transform, rect, cornerWidth, cornerHeight);
		}
Example #25
0
 public unsafe bool ContainsPoint(CGAffineTransform m, CGPoint point, bool eoFill)
 {
     return(CGPathContainsPoint(handle, &m, point, eoFill));
 }
Example #26
0
 [Advice("Use AddLineToPoint instead")]          // Bad name
 public void CGPathAddLineToPoint(CGAffineTransform transform, nfloat x, nfloat y)
 {
     AddLineToPoint(transform, x, y);
 }
Example #27
0
 public CGPath CopyByDashingPath(CGAffineTransform transform, nfloat [] lengths)
 {
     return(CopyByDashingPath(transform, lengths, 0));
 }
Example #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);
		}
Example #29
0
 public unsafe CGPath CopyByDashingPath(CGAffineTransform transform, nfloat [] lengths, nfloat phase)
 {
     return(MakeMutable(CGPathCreateCopyByDashingPath(handle, &transform, phase, lengths, lengths == null ? 0 : lengths.Length)));
 }
Example #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);
		}
Example #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)));
 }
Example #32
0
		public unsafe void AddPath (CGAffineTransform t, CGPath path2)
		{
			if (path2 == null)
				throw new ArgumentNullException ("path2");
			CGPathAddPath (handle, &t, path2.handle);
		}
Example #33
0
 extern static IntPtr CGPathCreateCopyByTransformingPath(/* CGPathRef */ IntPtr path, ref CGAffineTransform transform);
Example #34
0
		public unsafe bool ContainsPoint (CGAffineTransform m, CGPoint point, bool eoFill)
		{
			return CGPathContainsPoint (handle, &m, point, eoFill);
		}
Example #35
0
 public CGPath CopyByTransformingPath(CGAffineTransform transform)
 {
     return(MakeMutable(CGPathCreateCopyByTransformingPath(handle, ref transform)));
 }
Example #36
0
		public CGPath CopyByDashingPath (CGAffineTransform transform, nfloat [] lengths)
		{
			return CopyByDashingPath (transform, lengths, 0);
		}
Example #37
0
 extern static /* CGMutablePathRef */ IntPtr CGPathCreateMutableCopyByTransformingPath(/* CGPathRef */ IntPtr path, /* const CGAffineTransform* */ ref CGAffineTransform transform);
Example #38
0
		unsafe extern static IntPtr CGPathCreateCopyByStrokingPath (/* CGPathRef */ IntPtr path, CGAffineTransform *transform, nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, /* CGFloat */ nfloat miterLimit);
Example #39
0
 static public unsafe CGPath EllipseFromRect(CGRect boundingRect, CGAffineTransform transform)
 {
     return(MakeMutable(CGPathCreateWithEllipseInRect(boundingRect, &transform)));
 }
Example #40
0
		extern static IntPtr CGPathCreateCopyByTransformingPath (/* CGPathRef */ IntPtr path, ref CGAffineTransform transform);
Example #41
0
 static public unsafe CGPath FromRect(CGRect rectangle, CGAffineTransform transform)
 {
     return(MakeMutable(CGPathCreateWithRect(rectangle, &transform)));
 }
Example #42
0
		extern static /* CGMutablePathRef */ IntPtr CGPathCreateMutableCopyByTransformingPath (/* CGPathRef */ IntPtr path, /* const CGAffineTransform* */ ref CGAffineTransform transform);
Example #43
0
 static public unsafe CGPath FromRoundedRect(CGRect rectangle, nfloat cornerWidth, nfloat cornerHeight, CGAffineTransform transform)
 {
     return(MakeMutable(CGPathCreateWithRoundedRect(rectangle, cornerWidth, cornerHeight, &transform)));
 }
Example #44
0
		unsafe extern static IntPtr CGPathCreateWithRect (CGRect boundingRect, CGAffineTransform *transform);
Example #45
0
 public unsafe void AddRoundedRect(CGAffineTransform transform, CGRect rect, nfloat cornerWidth, nfloat cornerHeight)
 {
     CGPathAddRoundedRect(handle, &transform, rect, cornerWidth, cornerHeight);
 }
Example #46
0
		unsafe extern static /* CGPathRef */ IntPtr CGPathCreateWithRoundedRect (CGRect rect, /* CGFloat */ nfloat cornerWidth, /* CGFloat */ nfloat cornerHeight, CGAffineTransform *transform);
Example #47
0
		unsafe extern static void CGPathAddEllipseInRect (/* CGMutablePathRef */ IntPtr path, CGAffineTransform *m, CGRect rect);
Example #48
0
		unsafe extern static void CGPathAddRoundedRect (/* CGMutablePathRef */ IntPtr path, CGAffineTransform *transform, CGRect rect, /* CGFloat */ nfloat cornerWidth, /* CGFloat */ nfloat cornerHeight);
Example #49
0
		public unsafe void AddElipseInRect (CGAffineTransform m, CGRect rect)
		{
			CGPathAddEllipseInRect (handle, &m, rect);
		}
Example #50
0
		public CGPath (CGPath reference, CGAffineTransform transform)
		{
			if (reference == null)
				throw new ArgumentNullException ("reference");
			handle = CGPathCreateMutableCopyByTransformingPath (reference.Handle, ref transform);
		}
Example #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);
Example #52
0
 public static extern CATransform3D MakeFromAffine(CGAffineTransform m);
Example #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);
		}