79 references to NativePen
System.Drawing (79)
commonui\System\Drawing\Advanced\GraphicsPath.cs (4)
606
new HandleRef(pen, pen.
NativePen
),
669
new HandleRef(pen, pen.
NativePen
),
1501
nativePen = pen.
NativePen
;
1604
new HandleRef(pen, pen.
NativePen
),
commonui\System\Drawing\Graphics.cs (30)
1152
int status = SafeNativeMethods.Gdip.GdipDrawLine(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), x1, y1, x2, y2);
1184
int status = SafeNativeMethods.Gdip.GdipDrawLines(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
),
1208
int status = SafeNativeMethods.Gdip.GdipDrawLineI(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), x1, y1, x2, y2);
1240
int status = SafeNativeMethods.Gdip.GdipDrawLinesI(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
),
1263
int status = SafeNativeMethods.Gdip.GdipDrawArc(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), x, y,
1293
int status = SafeNativeMethods.Gdip.GdipDrawArcI(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), x, y,
1322
int status = SafeNativeMethods.Gdip.GdipDrawBezier(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), x1, y1,
1356
int status = SafeNativeMethods.Gdip.GdipDrawBeziers(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
),
1393
int status = SafeNativeMethods.Gdip.GdipDrawBeziersI(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
),
1427
int status = SafeNativeMethods.Gdip.GdipDrawRectangle(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), x, y,
1446
int status = SafeNativeMethods.Gdip.GdipDrawRectangleI(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), x, y, width, height);
1469
int status = SafeNativeMethods.Gdip.GdipDrawRectangles(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
),
1496
int status = SafeNativeMethods.Gdip.GdipDrawRectanglesI(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
),
1530
int status = SafeNativeMethods.Gdip.GdipDrawEllipse(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), x, y,
1559
int status = SafeNativeMethods.Gdip.GdipDrawEllipseI(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), x, y,
1591
int status = SafeNativeMethods.Gdip.GdipDrawPie(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), x, y, width,
1623
int status = SafeNativeMethods.Gdip.GdipDrawPieI(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), x, y, width,
1644
int status = SafeNativeMethods.Gdip.GdipDrawPolygon(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
),
1669
int status = SafeNativeMethods.Gdip.GdipDrawPolygonI(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
),
1693
int status = SafeNativeMethods.Gdip.GdipDrawPath(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
),
1716
int status = SafeNativeMethods.Gdip.GdipDrawCurve(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), new HandleRef(this, buf),
1742
int status = SafeNativeMethods.Gdip.GdipDrawCurve2(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), new HandleRef(this, buf),
1777
int status = SafeNativeMethods.Gdip.GdipDrawCurve3(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), new HandleRef(this, buf),
1804
int status = SafeNativeMethods.Gdip.GdipDrawCurveI(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), new HandleRef(this, buf),
1829
int status = SafeNativeMethods.Gdip.GdipDrawCurve2I(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), new HandleRef(this, buf),
1855
int status = SafeNativeMethods.Gdip.GdipDrawCurve3I(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), new HandleRef(this, buf),
1883
int status = SafeNativeMethods.Gdip.GdipDrawClosedCurve(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), new HandleRef(this, buf),
1909
int status = SafeNativeMethods.Gdip.GdipDrawClosedCurve2(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), new HandleRef(this, buf),
1935
int status = SafeNativeMethods.Gdip.GdipDrawClosedCurveI(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), new HandleRef(this, buf),
1960
int status = SafeNativeMethods.Gdip.GdipDrawClosedCurve2I(new HandleRef(this, this.NativeGraphics), new HandleRef(pen, pen.
NativePen
), new HandleRef(this, buf),
commonui\System\Drawing\Pen.cs (45)
166
int status = SafeNativeMethods.Gdip.GdipClonePen(new HandleRef(this, this.
NativePen
), out clonePen);
213
SafeNativeMethods.Gdip.GdipDeletePen(new HandleRef(this, this.
NativePen
));
252
int status = SafeNativeMethods.Gdip.GdipGetPenWidth(new HandleRef(this, this.
NativePen
), width);
265
int status = SafeNativeMethods.Gdip.GdipSetPenWidth(new HandleRef(this, this.
NativePen
), value);
285
int status = SafeNativeMethods.Gdip.GdipSetPenLineCap197819(new HandleRef(this, this.
NativePen
),
303
int status = SafeNativeMethods.Gdip.GdipGetPenStartCap(new HandleRef(this, this.
NativePen
), out startCap);
331
int status = SafeNativeMethods.Gdip.GdipSetPenStartCap(new HandleRef(this, this.
NativePen
), unchecked((int)value));
349
int status = SafeNativeMethods.Gdip.GdipGetPenEndCap(new HandleRef(this, this.
NativePen
), out endCap);
378
int status = SafeNativeMethods.Gdip.GdipSetPenEndCap(new HandleRef(this, this.
NativePen
), unchecked((int)value));
394
int status = SafeNativeMethods.Gdip.GdipGetPenDashCap197819(new HandleRef(this, this.
NativePen
), out dashCap);
415
int status = SafeNativeMethods.Gdip.GdipSetPenDashCap197819(new HandleRef(this, this.
NativePen
), unchecked((int)value));
434
int status = SafeNativeMethods.Gdip.GdipGetPenLineJoin(new HandleRef(this, this.
NativePen
), out lineJoin);
452
int status = SafeNativeMethods.Gdip.GdipSetPenLineJoin(new HandleRef(this, this.
NativePen
), unchecked((int)value));
473
int status = SafeNativeMethods.Gdip.GdipGetPenCustomStartCap(new HandleRef(this, this.
NativePen
), out lineCap);
485
int status = SafeNativeMethods.Gdip.GdipSetPenCustomStartCap(new HandleRef(this, this.
NativePen
),
507
int status = SafeNativeMethods.Gdip.GdipGetPenCustomEndCap(new HandleRef(this, this.
NativePen
), out lineCap);
519
int status = SafeNativeMethods.Gdip.GdipSetPenCustomEndCap(new HandleRef(this, this.
NativePen
),
536
int status = SafeNativeMethods.Gdip.GdipGetPenMiterLimit(new HandleRef(this, this.
NativePen
), miterLimit);
548
int status = SafeNativeMethods.Gdip.GdipSetPenMiterLimit(new HandleRef(this, this.
NativePen
), value);
570
int status = SafeNativeMethods.Gdip.GdipGetPenMode(new HandleRef(this, this.
NativePen
), out penMode);
588
int status = SafeNativeMethods.Gdip.GdipSetPenMode(new HandleRef(this, this.
NativePen
), value);
610
int status = SafeNativeMethods.Gdip.GdipGetPenTransform(new HandleRef(this, this.
NativePen
), new HandleRef(matrix, matrix.nativeMatrix));
626
int status = SafeNativeMethods.Gdip.GdipSetPenTransform(new HandleRef(this, this.
NativePen
), new HandleRef(value, value.nativeMatrix));
640
int status = SafeNativeMethods.Gdip.GdipResetPenTransform(new HandleRef(this, this.
NativePen
));
667
int status = SafeNativeMethods.Gdip.GdipMultiplyPenTransform(new HandleRef(this, this.
NativePen
),
693
int status = SafeNativeMethods.Gdip.GdipTranslatePenTransform(new HandleRef(this, this.
NativePen
),
717
int status = SafeNativeMethods.Gdip.GdipScalePenTransform(new HandleRef(this, this.
NativePen
),
741
int status = SafeNativeMethods.Gdip.GdipRotatePenTransform(new HandleRef(this, this.
NativePen
),
756
int status = SafeNativeMethods.Gdip.GdipSetPenColor(new HandleRef(this, this.
NativePen
),
774
int status = SafeNativeMethods.Gdip.GdipGetPenFillType(new HandleRef(this, this.
NativePen
), out type);
793
int status = SafeNativeMethods.Gdip.GdipGetPenColor(new HandleRef(this, this.
NativePen
), out colorARGB);
867
int status = SafeNativeMethods.Gdip.GdipSetPenBrushFill(new HandleRef(this, this.
NativePen
),
879
int status = SafeNativeMethods.Gdip.GdipGetPenBrushFill(new HandleRef(this, this.
NativePen
), out nativeBrush);
900
int status = SafeNativeMethods.Gdip.GdipGetPenDashStyle(new HandleRef(this, this.
NativePen
), out dashstyle);
919
int status = SafeNativeMethods.Gdip.GdipSetPenDashStyle(new HandleRef(this, this.
NativePen
), unchecked((int)value));
941
int status = SafeNativeMethods.Gdip.GdipGetPenDashCount(new HandleRef(this, this.
NativePen
), out retval);
962
int status = SafeNativeMethods.Gdip.GdipGetPenDashOffset(new HandleRef(this, this.
NativePen
), dashoffset);
973
int status = SafeNativeMethods.Gdip.GdipSetPenDashOffset(new HandleRef(this, this.
NativePen
), value);
995
int status = SafeNativeMethods.Gdip.GdipGetPenDashCount(new HandleRef(this, this.
NativePen
), out retval);
1006
status = SafeNativeMethods.Gdip.GdipGetPenDashArray(new HandleRef(this, this.
NativePen
), buf, count);
1041
int status = SafeNativeMethods.Gdip.GdipSetPenDashArray(new HandleRef(this, this.
NativePen
), new HandleRef(buf, buf), count);
1063
int status = SafeNativeMethods.Gdip.GdipGetPenCompoundCount(new HandleRef(this, this.
NativePen
), out count);
1070
status = SafeNativeMethods.Gdip.GdipGetPenCompoundArray(new HandleRef(this, this.
NativePen
), array, count);
1080
int status = SafeNativeMethods.Gdip.GdipSetPenCompoundArray(new HandleRef(this, this.
NativePen
), value, value.Length);
1090
if (this.
NativePen
!= IntPtr.Zero)