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