コード例 #1
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 unsafe extern static void CGPathAddRoundedRect(/* CGMutablePathRef */ IntPtr path, CGAffineTransform *transform, CGRect rect, /* CGFloat */ nfloat cornerWidth, /* CGFloat */ nfloat cornerHeight);
コード例 #2
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 unsafe extern static /* CGPathRef */ IntPtr CGPathCreateWithRoundedRect(CGRect rect, /* CGFloat */ nfloat cornerWidth, /* CGFloat */ nfloat cornerHeight, CGAffineTransform *transform);
コード例 #3
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 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)));
 }
コード例 #4
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 unsafe extern static IntPtr CGPathCreateCopyByStrokingPath(/* CGPathRef */ IntPtr path, CGAffineTransform *transform, nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, /* CGFloat */ nfloat miterLimit);
コード例 #5
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 unsafe extern static IntPtr CGPathCreateWithRect(CGRect boundingRect, CGAffineTransform *transform);
コード例 #6
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 unsafe extern static bool CGPathContainsPoint(IntPtr path, CGAffineTransform *m, CGPoint point, bool eoFill);
コード例 #7
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 extern unsafe static IntPtr CGPathCreateCopyByDashingPath(
     /* CGPathRef */ IntPtr path,
     /* const CGAffineTransform * */ CGAffineTransform *transform,
     /* CGFloat */ nfloat phase,
     /* CGFloat */ nfloat [] lengths,
     /* size_t */ nint count);
コード例 #8
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 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);
コード例 #9
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 unsafe extern static void CGPathAddPath(/* CGMutablePathRef */ IntPtr path1, CGAffineTransform *m, /* CGMutablePathRef */ IntPtr path2);
コード例 #10
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 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);
コード例 #11
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 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);
コード例 #12
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 unsafe extern static void CGPathAddEllipseInRect(/* CGMutablePathRef */ IntPtr path, CGAffineTransform *m, CGRect rect);
コード例 #13
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 unsafe extern static void CGPathAddLines(/* CGMutablePathRef */ IntPtr path, CGAffineTransform *m, CGPoint [] points, /* size_t */ nint count);
コード例 #14
0
ファイル: CGPath.cs プロジェクト: mcneel/xamarin-macios
 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);
コード例 #15
0
 unsafe static extern /* CTFontRef */ IntPtr CTFontCreateWithGraphicsFont(/* CGFontRef */ IntPtr graphicsFont, /* CGFloat */ nfloat size, CGAffineTransform *matrix, /* CTFontDescriptorRef */ IntPtr attributes);
コード例 #16
0
 unsafe static extern IntPtr CGPathCreateCopyByTransformingPath(
     IntPtr path,
     CGAffineTransform *transform
     );