2 writes to _nativeCap
System.Drawing.Common (2)
System\Drawing\Drawing2D\CustomLineCap.cs (2)
61
_nativeCap
= handle;
80
_nativeCap
= null;
16 references to _nativeCap
System.Drawing.Common (16)
System\Drawing\Drawing2D\AdjustableArrowCap.cs (1)
19
private GpAdjustableArrowCap* NativeArrowCap => (GpAdjustableArrowCap*)
_nativeCap
;
System\Drawing\Drawing2D\CustomLineCap.cs (13)
77
if (
_nativeCap
is not null && Gdip.Initialized)
79
Status status = PInvokeGdiPlus.GdipDeleteCustomLineCap(
_nativeCap
);
94
PInvokeGdiPlus.GdipCloneCustomLineCap(
_nativeCap
, &clonedCap).ThrowIfFailed();
101
PInvokeGdiPlus.GdipSetCustomLineCapStrokeCaps(
_nativeCap
, (GdiPlus.LineCap)startCap, (GdiPlus.LineCap)endCap).ThrowIfFailed();
110
PInvokeGdiPlus.GdipGetCustomLineCapStrokeCaps(
_nativeCap
, (GdiPlus.LineCap*)sc, (GdiPlus.LineCap*)ec).ThrowIfFailed();
120
PInvokeGdiPlus.GdipGetCustomLineCapStrokeJoin(
_nativeCap
, (GdiPlus.LineJoin*)&lineJoin).ThrowIfFailed();
126
PInvokeGdiPlus.GdipSetCustomLineCapStrokeJoin(
_nativeCap
, (GdiPlus.LineJoin)value).ThrowIfFailed();
136
PInvokeGdiPlus.GdipGetCustomLineCapBaseCap(
_nativeCap
, (GdiPlus.LineCap*)&baseCap).ThrowIfFailed();
142
PInvokeGdiPlus.GdipSetCustomLineCapBaseCap(
_nativeCap
, (GdiPlus.LineCap)value).ThrowIfFailed();
152
PInvokeGdiPlus.GdipGetCustomLineCapBaseInset(
_nativeCap
, &inset).ThrowIfFailed();
158
PInvokeGdiPlus.GdipSetCustomLineCapBaseInset(
_nativeCap
, value).ThrowIfFailed();
168
PInvokeGdiPlus.GdipGetCustomLineCapWidthScale(
_nativeCap
, &widthScale).ThrowIfFailed();
174
PInvokeGdiPlus.GdipSetCustomLineCapWidthScale(
_nativeCap
, value).ThrowIfFailed();
System\Drawing\Pen.cs (2)
278
PInvokeGdiPlus.GdipSetPenCustomStartCap(NativePen, value is null ? null : value.
_nativeCap
).ThrowIfFailed();
303
PInvokeGdiPlus.GdipSetPenCustomEndCap(NativePen, value is null ? null : value.
_nativeCap
).ThrowIfFailed();