90 references to NativeBrush
System.Drawing (90)
commonui\System\Drawing\Advanced\HatchBrush.cs (4)
82
int status = SafeNativeMethods.Gdip.GdipCloneBrush(new HandleRef(this, this.
NativeBrush
), out cloneBrush);
102
int status = SafeNativeMethods.Gdip.GdipGetHatchStyle(new HandleRef(this, this.
NativeBrush
), out hatchStyle);
121
int status = SafeNativeMethods.Gdip.GdipGetHatchForegroundColor(new HandleRef(this, this.
NativeBrush
), out forecol);
142
int status = SafeNativeMethods.Gdip.GdipGetHatchBackgroundColor(new HandleRef(this, this.
NativeBrush
), out backcol);
commonui\System\Drawing\Advanced\LinearGradientBrush.cs (23)
277
int status = SafeNativeMethods.Gdip.GdipCloneBrush(new HandleRef(this, this.
NativeBrush
), out cloneBrush);
291
int status = SafeNativeMethods.Gdip.GdipSetLineColors(new HandleRef(this, this.
NativeBrush
),
308
int status = SafeNativeMethods.Gdip.GdipGetLineColors(new HandleRef(this, this.
NativeBrush
), colors);
338
int status = SafeNativeMethods.Gdip.GdipGetLineRect(new HandleRef(this, this.
NativeBrush
), ref rect);
370
int status = SafeNativeMethods.Gdip.GdipGetLineGammaCorrection(new HandleRef(this, this.
NativeBrush
),
378
int status = SafeNativeMethods.Gdip.GdipSetLineGammaCorrection(new HandleRef(this, this.
NativeBrush
),
408
int status = SafeNativeMethods.Gdip.GdipGetLineBlendCount(new HandleRef(this, this.
NativeBrush
), out retval);
429
status = SafeNativeMethods.Gdip.GdipGetLineBlend(new HandleRef(this, this.
NativeBrush
), factors, positions, count);
472
int status = SafeNativeMethods.Gdip.GdipSetLineBlend(new HandleRef(this, this.
NativeBrush
), new HandleRef(null, factors), new HandleRef(null, positions), count);
520
int status = SafeNativeMethods.Gdip.GdipSetLineSigmaBlend(new HandleRef(this, this.
NativeBrush
), focus, scale);
545
int status = SafeNativeMethods.Gdip.GdipSetLineLinearBlend(new HandleRef(this, this.
NativeBrush
), focus, scale);
565
int status = SafeNativeMethods.Gdip.GdipGetLinePresetBlendCount(new HandleRef(this, this.
NativeBrush
), out retval);
585
status = SafeNativeMethods.Gdip.GdipGetLinePresetBlend(new HandleRef(this, this.
NativeBrush
), colors, positions, count);
671
int status = SafeNativeMethods.Gdip.GdipSetLinePresetBlend(new HandleRef(this, this.
NativeBrush
), new HandleRef(null, colors), new HandleRef(null, positions), count);
704
int status = SafeNativeMethods.Gdip.GdipSetLineWrapMode(new HandleRef(this, this.
NativeBrush
), unchecked((int) wrapMode));
713
int status = SafeNativeMethods.Gdip.GdipGetLineWrapMode(new HandleRef(this, this.
NativeBrush
), out mode);
751
int status = SafeNativeMethods.Gdip.GdipSetLineTransform(new HandleRef(this, this.
NativeBrush
), new HandleRef(matrix, matrix.nativeMatrix));
762
int status = SafeNativeMethods.Gdip.GdipGetLineTransform(new HandleRef(this, this.
NativeBrush
), new HandleRef(matrix, matrix.nativeMatrix));
788
int status = SafeNativeMethods.Gdip.GdipResetLineTransform(new HandleRef(this, this.
NativeBrush
));
819
int status = SafeNativeMethods.Gdip.GdipMultiplyLineTransform(new HandleRef(this, this.
NativeBrush
),
844
int status = SafeNativeMethods.Gdip.GdipTranslateLineTransform(new HandleRef(this, this.
NativeBrush
),
869
int status = SafeNativeMethods.Gdip.GdipScaleLineTransform(new HandleRef(this, this.
NativeBrush
),
895
int status = SafeNativeMethods.Gdip.GdipRotateLineTransform(new HandleRef(this, this.
NativeBrush
),
commonui\System\Drawing\Advanced\PathGradientBrush.cs (29)
191
int status = SafeNativeMethods.Gdip.GdipCloneBrush(new HandleRef(this, this.
NativeBrush
), out cloneBrush);
212
int status = SafeNativeMethods.Gdip.GdipGetPathGradientCenterColor(new HandleRef(this, this.
NativeBrush
), out argb);
221
int status = SafeNativeMethods.Gdip.GdipSetPathGradientCenterColor(new HandleRef(this, this.
NativeBrush
), value.ToArgb());
238
int status = SafeNativeMethods.Gdip.GdipGetPathGradientSurroundColorCount(new HandleRef(this, this.
NativeBrush
),
252
status = SafeNativeMethods.Gdip.GdipSetPathGradientSurroundColorsWithCount(new HandleRef(this, this.
NativeBrush
),
264
int status = SafeNativeMethods.Gdip.GdipGetPathGradientSurroundColorCount(new HandleRef(this, this.
NativeBrush
),
272
status = SafeNativeMethods.Gdip.GdipGetPathGradientSurroundColorsWithCount(new HandleRef(this, this.
NativeBrush
),
315
int status = SafeNativeMethods.Gdip.GdipGetPathGradientCenterPoint(new HandleRef(this, this.
NativeBrush
), point);
324
int status = SafeNativeMethods.Gdip.GdipSetPathGradientCenterPoint(new HandleRef(this, this.
NativeBrush
), new GPPOINTF(value));
337
int status = SafeNativeMethods.Gdip.GdipGetPathGradientRect(new HandleRef(this, this.
NativeBrush
), ref rect);
364
int status = SafeNativeMethods.Gdip.GdipGetPathGradientBlendCount(new HandleRef(this, this.
NativeBrush
), out retval);
384
status = SafeNativeMethods.Gdip.GdipGetPathGradientBlend(new HandleRef(this, this.
NativeBrush
), factors, positions, count);
429
int status = SafeNativeMethods.Gdip.GdipSetPathGradientBlend(new HandleRef(this, this.
NativeBrush
), new HandleRef(null, factors), new HandleRef(null, positions), count);
481
int status = SafeNativeMethods.Gdip.GdipSetPathGradientSigmaBlend(new HandleRef(this, this.
NativeBrush
), focus, scale);
506
int status = SafeNativeMethods.Gdip.GdipSetPathGradientLinearBlend(new HandleRef(this, this.
NativeBrush
), focus, scale);
521
int status = SafeNativeMethods.Gdip.GdipGetPathGradientPresetBlendCount(new HandleRef(this, this.
NativeBrush
), out retval);
548
status = SafeNativeMethods.Gdip.GdipGetPathGradientPresetBlend(new HandleRef(this, this.
NativeBrush
), colors, positions, count);
605
int status = SafeNativeMethods.Gdip.GdipSetPathGradientPresetBlend(new HandleRef(this, this.
NativeBrush
), new HandleRef(null, colors), new HandleRef(null, positions), count);
641
int status = SafeNativeMethods.Gdip.GdipSetPathGradientTransform(new HandleRef(this, this.
NativeBrush
), new HandleRef(matrix, matrix.nativeMatrix));
650
int status = SafeNativeMethods.Gdip.GdipGetPathGradientTransform(new HandleRef(this, this.
NativeBrush
), new HandleRef(matrix, matrix.nativeMatrix));
679
int status = SafeNativeMethods.Gdip.GdipResetPathGradientTransform(new HandleRef(this, this.
NativeBrush
));
709
int status = SafeNativeMethods.Gdip.GdipMultiplyPathGradientTransform(new HandleRef(this, this.
NativeBrush
),
738
int status = SafeNativeMethods.Gdip.GdipTranslatePathGradientTransform(new HandleRef(this, this.
NativeBrush
),
766
int status = SafeNativeMethods.Gdip.GdipScalePathGradientTransform(new HandleRef(this, this.
NativeBrush
),
794
int status = SafeNativeMethods.Gdip.GdipRotatePathGradientTransform(new HandleRef(this, this.
NativeBrush
),
815
int status = SafeNativeMethods.Gdip.GdipGetPathGradientFocusScales(new HandleRef(this, this.
NativeBrush
), scaleX, scaleY);
823
int status = SafeNativeMethods.Gdip.GdipSetPathGradientFocusScales(new HandleRef(this, this.
NativeBrush
), value.X, value.Y);
834
int status = SafeNativeMethods.Gdip.GdipSetPathGradientWrapMode(new HandleRef(this, this.
NativeBrush
), unchecked((int) wrapMode));
843
int status = SafeNativeMethods.Gdip.GdipGetPathGradientWrapMode(new HandleRef(this, this.
NativeBrush
), out mode);
commonui\System\Drawing\Advanced\TextureBrush.cs (11)
307
int status = SafeNativeMethods.Gdip.GdipCloneBrush(new HandleRef(this, this.
NativeBrush
), out cloneBrush);
320
int status = SafeNativeMethods.Gdip.GdipSetTextureTransform(new HandleRef(this, this.
NativeBrush
), new HandleRef(matrix, matrix.nativeMatrix));
329
int status = SafeNativeMethods.Gdip.GdipGetTextureTransform(new HandleRef(this, this.
NativeBrush
), new HandleRef(matrix, matrix.nativeMatrix));
361
int status = SafeNativeMethods.Gdip.GdipSetTextureWrapMode(new HandleRef(this, this.
NativeBrush
), unchecked((int) wrapMode));
371
int status = SafeNativeMethods.Gdip.GdipGetTextureWrapMode(new HandleRef(this, this.
NativeBrush
), out mode);
414
int status = SafeNativeMethods.Gdip.GdipGetTextureImage(new HandleRef(this, this.
NativeBrush
), out image);
433
int status = SafeNativeMethods.Gdip.GdipResetTextureTransform(new HandleRef(this, this.
NativeBrush
));
463
int status = SafeNativeMethods.Gdip.GdipMultiplyTextureTransform(new HandleRef(this, this.
NativeBrush
),
491
int status = SafeNativeMethods.Gdip.GdipTranslateTextureTransform(new HandleRef(this, this.
NativeBrush
),
520
int status = SafeNativeMethods.Gdip.GdipScaleTextureTransform(new HandleRef(this, this.
NativeBrush
),
549
int status = SafeNativeMethods.Gdip.GdipRotateTextureTransform(new HandleRef(this, this.
NativeBrush
),
commonui\System\Drawing\Graphics.cs (17)
2007
int status = SafeNativeMethods.Gdip.GdipFillRectangle(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
), x, y,
2036
int status = SafeNativeMethods.Gdip.GdipFillRectangleI(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
), x, y, width, height);
2059
int status = SafeNativeMethods.Gdip.GdipFillRectangles(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
),
2086
int status = SafeNativeMethods.Gdip.GdipFillRectanglesI(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
),
2123
int status = SafeNativeMethods.Gdip.GdipFillPolygon(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
),
2159
int status = SafeNativeMethods.Gdip.GdipFillPolygonI(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
),
2193
int status = SafeNativeMethods.Gdip.GdipFillEllipse(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
), x, y,
2222
int status = SafeNativeMethods.Gdip.GdipFillEllipseI(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
), x, y,
2255
int status = SafeNativeMethods.Gdip.GdipFillPie(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
), x, y,
2275
int status = SafeNativeMethods.Gdip.GdipFillPieI(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
), x, y,
2294
int status = SafeNativeMethods.Gdip.GdipFillPath(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
),
2318
int status = SafeNativeMethods.Gdip.GdipFillClosedCurve(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
),
2352
int status = SafeNativeMethods.Gdip.GdipFillClosedCurve2(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
),
2379
int status = SafeNativeMethods.Gdip.GdipFillClosedCurveI(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
),
2410
int status = SafeNativeMethods.Gdip.GdipFillClosedCurve2I(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
),
2435
int status = SafeNativeMethods.Gdip.GdipFillRegion(new HandleRef(this, this.NativeGraphics), new HandleRef(brush, brush.
NativeBrush
),
2502
int status = SafeNativeMethods.Gdip.GdipDrawString(new HandleRef(this, this.NativeGraphics), s, s.Length, new HandleRef(font, font.NativeFont), ref grf, new HandleRef(format, nativeStringFormat), new HandleRef(brush, brush.
NativeBrush
));
commonui\System\Drawing\Pen.cs (2)
120
int status = SafeNativeMethods.Gdip.GdipCreatePen2(new HandleRef(brush, brush.
NativeBrush
),
868
new HandleRef(value, value.
NativeBrush
));
commonui\System\Drawing\SolidBrush.cs (4)
81
int status = SafeNativeMethods.Gdip.GdipCloneBrush(new HandleRef(this, this.
NativeBrush
), out cloneBrush);
116
int status = SafeNativeMethods.Gdip.GdipGetSolidFillColor(new HandleRef(this, this.
NativeBrush
), out colorARGB);
152
int status = SafeNativeMethods.Gdip.GdipSetSolidFillColor(new HandleRef(this, this.
NativeBrush
), value.ToArgb());
163
if( this.
NativeBrush
!= IntPtr.Zero ){