5 writes to nativeImage
System.Drawing (5)
commonui\System\Drawing\Bitmap.cs (2)
612
this.
nativeImage
= result.nativeImage;
613
result.
nativeImage
= temp;
commonui\System\Drawing\Image.cs (3)
306
this.
nativeImage
= image;
386
nativeImage
= IntPtr.Zero;
1311
nativeImage
= handle;
85 references to nativeImage
System.Drawing (85)
commonui\System\Drawing\Advanced\Metafile.cs (3)
913
int status = SafeNativeMethods.Gdip.GdipGetMetafileHeaderFromMetafile(new HandleRef(this,
nativeImage
), memory);
956
int status = SafeNativeMethods.Gdip.GdipGetHemfFromMetafile(new HandleRef(this,
nativeImage
), out hEmf);
977
int status = SafeNativeMethods.Gdip.GdipPlayMetafileRecord(new HandleRef(this,
nativeImage
),
commonui\System\Drawing\Advanced\TextureBrush.cs (5)
83
int status = SafeNativeMethods.Gdip.GdipCreateTexture(new HandleRef(image, image.
nativeImage
),
121
int status = SafeNativeMethods.Gdip.GdipCreateTexture2(new HandleRef(image, image.
nativeImage
),
163
int status = SafeNativeMethods.Gdip.GdipCreateTexture2I(new HandleRef(image, image.
nativeImage
),
218
int status = SafeNativeMethods.Gdip.GdipCreateTextureIA(new HandleRef(image, image.
nativeImage
),
273
int status = SafeNativeMethods.Gdip.GdipCreateTextureIAI(new HandleRef(image, image.
nativeImage
),
commonui\System\Drawing\Bitmap.cs (11)
421
int status = SafeNativeMethods.Gdip.GdipCreateHBITMAPFromBitmap(new HandleRef(this,
nativeImage
), out hBitmap,
444
int status = SafeNativeMethods.Gdip.GdipCreateHICONFromBitmap(new HandleRef(this,
nativeImage
), out hIcon);
502
new HandleRef(this,
nativeImage
),
536
new HandleRef(this,
nativeImage
),
611
IntPtr temp = this.
nativeImage
;
612
this.nativeImage = result.
nativeImage
;
647
int status = SafeNativeMethods.Gdip.GdipBitmapLockBits(new HandleRef(this,
nativeImage
), ref gprect,
663
int status = SafeNativeMethods.Gdip.GdipBitmapUnlockBits(new HandleRef(this,
nativeImage
), bitmapdata);
688
int status = SafeNativeMethods.Gdip.GdipBitmapGetPixel(new HandleRef(this,
nativeImage
), x, y, out color);
715
int status = SafeNativeMethods.Gdip.GdipBitmapSetPixel(new HandleRef(this,
nativeImage
), x, y, color.ToArgb());
727
int status = SafeNativeMethods.Gdip.GdipBitmapSetResolution(new HandleRef(this,
nativeImage
), xDpi, yDpi);
commonui\System\Drawing\Graphics.cs (28)
239
int status = SafeNativeMethods.Gdip.GdipGetImageGraphicsContext(new HandleRef(image, image.
nativeImage
),
2763
int status = SafeNativeMethods.Gdip.GdipDrawImage(new HandleRef(this, this.NativeGraphics), new HandleRef(image, image.
nativeImage
),
2791
new HandleRef(image, image.
nativeImage
),
2819
int status = SafeNativeMethods.Gdip.GdipDrawImageI(new HandleRef(this, this.NativeGraphics), new HandleRef(image, image.
nativeImage
),
2847
new HandleRef(image, image.
nativeImage
),
2933
new HandleRef(image, image.
nativeImage
),
2966
new HandleRef(image, image.
nativeImage
),
2997
new HandleRef(image, image.
nativeImage
),
3025
new HandleRef(image, image.
nativeImage
),
3053
new HandleRef(image, image.
nativeImage
),
3087
new HandleRef(image, image.
nativeImage
),
3127
new HandleRef(image, image.
nativeImage
),
3185
new HandleRef(image, image.
nativeImage
),
3251
new HandleRef(image, image.
nativeImage
),
3309
new HandleRef(image, image.
nativeImage
),
3364
new HandleRef(image, image.
nativeImage
),
3405
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
3440
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
3475
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
3513
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
3555
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
3601
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
3643
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
3685
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
3728
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
3775
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
3833
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
3895
IntPtr mf = (metafile == null ? IntPtr.Zero : metafile.
nativeImage
);
commonui\System\Drawing\Image.cs (38)
310
status = SafeNativeMethods.Gdip.GdipGetImageType(new HandleRef(this,
nativeImage
), out type);
334
int status = SafeNativeMethods.Gdip.GdipCloneImage(new HandleRef(this,
nativeImage
), out cloneImage);
368
if (
nativeImage
!= IntPtr.Zero) {
373
SafeNativeMethods.Gdip.GdipDisposeImage(new HandleRef(this,
nativeImage
));
532
int status = SafeNativeMethods.Gdip.GdipGetEncoderParameterListSize(new HandleRef(this,
nativeImage
),
543
status = SafeNativeMethods.Gdip.GdipGetEncoderParameterList(new HandleRef(this,
nativeImage
),
628
status = SafeNativeMethods.Gdip.GdipSaveImageToFile(new HandleRef(this,
nativeImage
),
716
status = SafeNativeMethods.Gdip.GdipSaveImageToStream(new HandleRef(this,
nativeImage
),
748
int status = SafeNativeMethods.Gdip.GdipSaveAdd(new HandleRef(this,
nativeImage
), new HandleRef(encoderParams, encoder));
777
int status = SafeNativeMethods.Gdip.GdipSaveAddImage(new HandleRef(this,
nativeImage
), new HandleRef(image, image.
nativeImage
), new HandleRef(encoderParams, encoder));
794
int status = SafeNativeMethods.Gdip.GdipGetImageDimension(new HandleRef(this,
nativeImage
), out width, out height);
838
int status = SafeNativeMethods.Gdip.GdipGetImageWidth(new HandleRef(this,
nativeImage
), out width);
860
int status = SafeNativeMethods.Gdip.GdipGetImageHeight(new HandleRef(this,
nativeImage
), out height);
878
int status = SafeNativeMethods.Gdip.GdipGetImageHorizontalResolution(new HandleRef(this,
nativeImage
), out horzRes);
896
int status = SafeNativeMethods.Gdip.GdipGetImageVerticalResolution(new HandleRef(this,
nativeImage
), out vertRes);
914
int status = SafeNativeMethods.Gdip.GdipGetImageFlags(new HandleRef(this,
nativeImage
), out flags);
931
int status = SafeNativeMethods.Gdip.GdipGetImageRawFormat(new HandleRef(this,
nativeImage
), ref guid);
949
int status = SafeNativeMethods.Gdip.GdipGetImagePixelFormat(new HandleRef(this,
nativeImage
), out format);
967
int status = SafeNativeMethods.Gdip.GdipGetImageBounds(new HandleRef(this,
nativeImage
), ref gprectf, out pageUnit);
978
int status = SafeNativeMethods.Gdip.GdipGetImagePaletteSize(new HandleRef(this,
nativeImage
), out size);
995
status = SafeNativeMethods.Gdip.GdipGetImagePalette(new HandleRef(this,
nativeImage
), memory, size);
1014
int status = SafeNativeMethods.Gdip.GdipSetImagePalette(new HandleRef(this,
nativeImage
), memory);
1050
int status = SafeNativeMethods.Gdip.GdipGetImageThumbnail(new HandleRef(this,
nativeImage
), thumbWidth, thumbHeight, out thumbImage,
1073
int status = SafeNativeMethods.Gdip.GdipImageGetFrameDimensionsCount(new HandleRef(this,
nativeImage
), out count);
1091
status = SafeNativeMethods.Gdip.GdipImageGetFrameDimensionsList(new HandleRef(this,
nativeImage
), buffer, count);
1124
int status = SafeNativeMethods.Gdip.GdipImageGetFrameCount(new HandleRef(this,
nativeImage
), ref dimensionID, count);
1143
int status = SafeNativeMethods.Gdip.GdipImageSelectActiveFrame(new HandleRef(this,
nativeImage
), ref dimensionID, frameIndex);
1158
int status = SafeNativeMethods.Gdip.GdipImageRotateFlip(new HandleRef(this,
nativeImage
), unchecked((int) rotateFlipType));
1176
int status = SafeNativeMethods.Gdip.GdipGetPropertyCount(new HandleRef(this,
nativeImage
), out count);
1187
status = SafeNativeMethods.Gdip.GdipGetPropertyIdList(new HandleRef(this,
nativeImage
), count, propid);
1205
int status = SafeNativeMethods.Gdip.GdipGetPropertyItemSize(new HandleRef(this,
nativeImage
), propid, out size);
1218
status = SafeNativeMethods.Gdip.GdipGetPropertyItem(new HandleRef(this,
nativeImage
), propid, size, propdata);
1240
int status = SafeNativeMethods.Gdip.GdipRemovePropertyItem(new HandleRef(this,
nativeImage
), propid);
1256
int status = SafeNativeMethods.Gdip.GdipSetPropertyItem(new HandleRef(this,
nativeImage
), propItemInternal);
1273
int status = SafeNativeMethods.Gdip.GdipGetPropertyCount(new HandleRef(this,
nativeImage
), out count);
1278
status = SafeNativeMethods.Gdip.GdipGetPropertySize(new HandleRef(this,
nativeImage
), out size, ref count);
1288
status = SafeNativeMethods.Gdip.GdipGetAllPropertyItems(new HandleRef(this,
nativeImage
), size, count, propdata);