2 writes to nativeRegion
System.Drawing (2)
commonui\System\Drawing\Region.cs (2)
172
this.
nativeRegion
= nativeRegion;
232
nativeRegion
= IntPtr.Zero;
53 references to nativeRegion
System.Drawing (53)
commonui\System\Drawing\Graphics.cs (6)
2436
new HandleRef(region, region.
nativeRegion
));
2656
gpRegions[f] = (IntPtr)regions[f].
nativeRegion
;
4014
int status = SafeNativeMethods.Gdip.GdipSetClipRegion(new HandleRef(this, this.NativeGraphics), new HandleRef(region, region.
nativeRegion
), combineMode);
4052
int status = SafeNativeMethods.Gdip.GdipSetClipRegion(new HandleRef(this, this.NativeGraphics), new HandleRef(region, region.
nativeRegion
),
4080
new HandleRef(region, region.
nativeRegion
),
4203
int status = SafeNativeMethods.Gdip.GdipGetClip(new HandleRef(this, this.NativeGraphics), new HandleRef(region, region.
nativeRegion
));
commonui\System\Drawing\Region.cs (47)
187
int status = SafeNativeMethods.Gdip.GdipCloneRegion(new HandleRef(this,
nativeRegion
), out region);
214
if (
nativeRegion
!= IntPtr.Zero) {
219
SafeNativeMethods.Gdip.GdipDeleteRegion(new HandleRef(this,
nativeRegion
));
256
int status = SafeNativeMethods.Gdip.GdipSetInfinite(new HandleRef(this,
nativeRegion
));
268
int status = SafeNativeMethods.Gdip.GdipSetEmpty(new HandleRef(this,
nativeRegion
));
282
int status = SafeNativeMethods.Gdip.GdipCombineRegionRect(new HandleRef(this,
nativeRegion
), ref gprectf, CombineMode.Intersect);
298
int status = SafeNativeMethods.Gdip.GdipCombineRegionRectI(new HandleRef(this,
nativeRegion
), ref gprect, CombineMode.Intersect);
315
int status = SafeNativeMethods.Gdip.GdipCombineRegionPath(new HandleRef(this,
nativeRegion
), new HandleRef(path, path.nativePath), CombineMode.Intersect);
332
int status = SafeNativeMethods.Gdip.GdipCombineRegionRegion(new HandleRef(this,
nativeRegion
), new HandleRef(region, region.
nativeRegion
), CombineMode.Intersect);
362
int status = SafeNativeMethods.Gdip.GdipCombineRegionRect(new HandleRef(this,
nativeRegion
), ref gprectf, CombineMode.Union);
376
int status = SafeNativeMethods.Gdip.GdipCombineRegionRectI(new HandleRef(this,
nativeRegion
), ref gprect, CombineMode.Union);
391
int status = SafeNativeMethods.Gdip.GdipCombineRegionPath(new HandleRef(this,
nativeRegion
), new HandleRef(path, path.nativePath), CombineMode.Union);
407
int status = SafeNativeMethods.Gdip.GdipCombineRegionRegion(new HandleRef(this,
nativeRegion
), new HandleRef(region, region.
nativeRegion
), CombineMode.Union);
421
int status = SafeNativeMethods.Gdip.GdipCombineRegionRect(new HandleRef(this,
nativeRegion
), ref gprectf, CombineMode.Xor);
435
int status = SafeNativeMethods.Gdip.GdipCombineRegionRectI(new HandleRef(this,
nativeRegion
), ref gprect, CombineMode.Xor);
450
int status = SafeNativeMethods.Gdip.GdipCombineRegionPath(new HandleRef(this,
nativeRegion
), new HandleRef(path, path.nativePath), CombineMode.Xor);
465
int status = SafeNativeMethods.Gdip.GdipCombineRegionRegion(new HandleRef(this,
nativeRegion
), new HandleRef(region, region.
nativeRegion
), CombineMode.Xor);
479
int status = SafeNativeMethods.Gdip.GdipCombineRegionRect(new HandleRef(this,
nativeRegion
), ref gprectf, CombineMode.Exclude);
493
int status = SafeNativeMethods.Gdip.GdipCombineRegionRectI(new HandleRef(this,
nativeRegion
), ref gprect, CombineMode.Exclude);
508
int status = SafeNativeMethods.Gdip.GdipCombineRegionPath(new HandleRef(this,
nativeRegion
), new HandleRef(path, path.nativePath),
524
int status = SafeNativeMethods.Gdip.GdipCombineRegionRegion(new HandleRef(this,
nativeRegion
), new HandleRef(region, region.
nativeRegion
),
539
int status = SafeNativeMethods.Gdip.GdipCombineRegionRect(new HandleRef(this,
nativeRegion
), ref gprectf, CombineMode.Complement);
553
int status = SafeNativeMethods.Gdip.GdipCombineRegionRectI(new HandleRef(this,
nativeRegion
), ref gprect, CombineMode.Complement);
569
int status = SafeNativeMethods.Gdip.GdipCombineRegionPath(new HandleRef(this,
nativeRegion
), new HandleRef(path, path.nativePath), CombineMode.Complement);
586
int status = SafeNativeMethods.Gdip.GdipCombineRegionRegion(new HandleRef(this,
nativeRegion
), new HandleRef(region, region.
nativeRegion
), CombineMode.Complement);
601
int status = SafeNativeMethods.Gdip.GdipTranslateRegion(new HandleRef(this,
nativeRegion
), dx, dy);
613
int status = SafeNativeMethods.Gdip.GdipTranslateRegionI(new HandleRef(this,
nativeRegion
), dx, dy);
628
int status = SafeNativeMethods.Gdip.GdipTransformRegion(new HandleRef(this,
nativeRegion
),
649
int status = SafeNativeMethods.Gdip.GdipGetRegionBounds(new HandleRef(this,
nativeRegion
), new HandleRef(g, g.NativeGraphics), ref gprectf);
672
int status = SafeNativeMethods.Gdip.GdipGetRegionHRgn(new HandleRef(this,
nativeRegion
), new HandleRef(g, g.NativeGraphics), out hrgn);
692
int status = SafeNativeMethods.Gdip.GdipIsEmptyRegion(new HandleRef(this,
nativeRegion
), new HandleRef(g, g.NativeGraphics), out isEmpty);
712
int status = SafeNativeMethods.Gdip.GdipIsInfiniteRegion(new HandleRef(this,
nativeRegion
), new HandleRef(g, g.NativeGraphics), out isInfinite);
736
int status = SafeNativeMethods.Gdip.GdipIsEqualRegion(new HandleRef(this,
nativeRegion
), new HandleRef(region, region.
nativeRegion
), new HandleRef(g, g.NativeGraphics), out isEqual);
753
int status = SafeNativeMethods.Gdip.GdipGetRegionDataSize(new HandleRef(this,
nativeRegion
), out regionSize);
763
status = SafeNativeMethods.Gdip.GdipGetRegionData(new HandleRef(this,
nativeRegion
), regionData, regionSize, out regionSize);
817
int status = SafeNativeMethods.Gdip.GdipIsVisibleRegionPoint(new HandleRef(this,
nativeRegion
), point.X, point.Y,
869
int status = SafeNativeMethods.Gdip.GdipIsVisibleRegionRect(new HandleRef(this,
nativeRegion
), rect.X, rect.Y,
912
int status = SafeNativeMethods.Gdip.GdipIsVisibleRegionPointI(new HandleRef(this,
nativeRegion
), point.X, point.Y,
966
int status = SafeNativeMethods.Gdip.GdipIsVisibleRegionRectI(new HandleRef(this,
nativeRegion
), rect.X, rect.Y,
993
int status = SafeNativeMethods.Gdip.GdipGetRegionScansCount(new HandleRef(this,
nativeRegion
),
1005
status = SafeNativeMethods.Gdip.GdipGetRegionScans(new HandleRef(this,
nativeRegion
),