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