コード例 #1
0
 public GpRectF([NativeTypeName("const Gdiplus::PointF &")] GpPointF *location, [NativeTypeName("const Gdiplus::SizeF &")] GpSizeF *size)
 {
     X      = location->X;
     Y      = location->Y;
     Width  = size->Width;
     Height = size->Height;
 }
コード例 #2
0
 public BOOL Equals([NativeTypeName("const Gdiplus::PointF &")] GpPointF *point)
 {
     return(((X == point->X) && (Y == point->Y)) ? 1 : 0);
 }
コード例 #3
0
 public GpPointF([NativeTypeName("const Gdiplus::PointF &")] GpPointF *point)
 {
     X = point->X;
     Y = point->Y;
 }
コード例 #4
0
 public GpPathData()
 {
     Count  = 0;
     Points = null;
     Types  = null;
 }
コード例 #5
0
 public void GetLocation([NativeTypeName("Gdiplus::PointF *")] GpPointF *point)
 {
     point->X = X;
     point->Y = Y;
 }
コード例 #6
0
 public void Offset([NativeTypeName("const Gdiplus::PointF &")] GpPointF *point)
 {
     Offset(point->X, point->Y);
 }
コード例 #7
0
 public void Inflate([NativeTypeName("const Gdiplus::PointF &")] GpPointF *point)
 {
     Inflate(point->X, point->Y);
 }
コード例 #8
0
 public BOOL Contains([NativeTypeName("const Gdiplus::PointF &")] GpPointF *pt)
 {
     return(Contains(pt->X, pt->Y));
 }