Esempio n. 1
0
 unsafe extern static void CGPathAddRoundedRect(/* CGMutablePathRef */ IntPtr path, CGAffineTransform *transform, CGRect rect, /* CGFloat */ nfloat cornerWidth, /* CGFloat */ nfloat cornerHeight);
Esempio n. 2
0
 unsafe extern static /* CGPathRef */ IntPtr CGPathCreateWithRoundedRect(CGRect rect, /* CGFloat */ nfloat cornerWidth, /* CGFloat */ nfloat cornerHeight, CGAffineTransform *transform);
Esempio n. 3
0
 static unsafe CGPath _FromRoundedRect(CGRect rectangle, nfloat cornerWidth, nfloat cornerHeight, CGAffineTransform *transform)
 {
     if ((cornerWidth < 0) || (2 * cornerWidth > rectangle.Width))
     {
         throw new ArgumentException("cornerWidth");
     }
     if ((cornerHeight < 0) || (2 * cornerHeight > rectangle.Height))
     {
         throw new ArgumentException("cornerHeight");
     }
     return(MakeMutable(CGPathCreateWithRoundedRect(rectangle, cornerWidth, cornerHeight, transform)));
 }
Esempio n. 4
0
 unsafe extern static IntPtr CGPathCreateCopyByStrokingPath(/* CGPathRef */ IntPtr path, CGAffineTransform *transform, nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, /* CGFloat */ nfloat miterLimit);
Esempio n. 5
0
 unsafe extern static IntPtr CGPathCreateWithRect(CGRect boundingRect, CGAffineTransform *transform);
Esempio n. 6
0
 unsafe extern static bool CGPathContainsPoint(IntPtr path, CGAffineTransform *m, CGPoint point, bool eoFill);
Esempio n. 7
0
 extern unsafe static IntPtr CGPathCreateCopyByDashingPath(
     /* CGPathRef */ IntPtr path,
     /* const CGAffineTransform * */ CGAffineTransform *transform,
     /* CGFloat */ nfloat phase,
     /* CGFloat */ nfloat [] lengths,
     /* size_t */ nint count);
Esempio n. 8
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);
Esempio n. 9
0
 unsafe extern static void CGPathAddPath(/* CGMutablePathRef */ IntPtr path1, CGAffineTransform *m, /* CGMutablePathRef */ IntPtr path2);
Esempio n. 10
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);
Esempio n. 11
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);
Esempio n. 12
0
 unsafe extern static void CGPathAddEllipseInRect(/* CGMutablePathRef */ IntPtr path, CGAffineTransform *m, CGRect rect);
Esempio n. 13
0
 unsafe extern static void CGPathAddLines(/* CGMutablePathRef */ IntPtr path, CGAffineTransform *m, CGPoint [] points, /* size_t */ nint count);
Esempio n. 14
0
 unsafe extern static void CGPathAddCurveToPoint(/* CGMutablePathRef */ IntPtr path, CGAffineTransform *m, /* CGFloat */ nfloat cp1x, /* CGFloat */ nfloat cp1y, /* CGFloat */ nfloat cp2x, /* CGFloat */ nfloat cp2y, /* CGFloat */ nfloat x, /* CGFloat */ nfloat y);
Esempio n. 15
0
 unsafe static extern /* CTFontRef */ IntPtr CTFontCreateWithGraphicsFont(/* CGFontRef */ IntPtr graphicsFont, /* CGFloat */ nfloat size, CGAffineTransform *matrix, /* CTFontDescriptorRef */ IntPtr attributes);
Esempio n. 16
0
 unsafe static extern IntPtr CGPathCreateCopyByTransformingPath(
     IntPtr path,
     CGAffineTransform *transform
     );