3 writes to _nativeImage
System.Drawing.Common (3)
System\Drawing\Image.cs (3)
149_nativeImage = image; 214_nativeImage = null; 811_nativeImage = handle;
36 references to _nativeImage
System.Drawing.Common (36)
System\Drawing\Image.cs (36)
35nint IPointer<GpImage>.Pointer => (nint)_nativeImage; 151PInvokeGdiPlus.GdipGetImageType(_nativeImage, &type).ThrowIfFailed(); 200PInvokeGdiPlus.GdipCloneImage(_nativeImage, &cloneImage).ThrowIfFailed(); 208if (_nativeImage is null) 213Status status = !Gdip.Initialized ? Status.Ok : PInvokeGdiPlus.GdipDisposeImage(_nativeImage); 275PInvokeGdiPlus.GdipSaveImageToFile(_nativeImage, fn, &encoder, nativeParameters).ThrowIfFailed(); 346PInvokeGdiPlus.GdipSaveAdd(_nativeImage, nativeParameters).ThrowIfFailed(); 378PInvokeGdiPlus.GdipSaveAddImage(_nativeImage, image._nativeImage, nativeParameters).ThrowIfFailed(); 412PInvokeGdiPlus.GdipGetImageDimension(_nativeImage, &width, &height).ThrowIfFailed(); 434PInvokeGdiPlus.GdipGetImageWidth(_nativeImage, &width).ThrowIfFailed(); 451PInvokeGdiPlus.GdipGetImageHeight(_nativeImage, &height).ThrowIfFailed(); 465PInvokeGdiPlus.GdipGetImageHorizontalResolution(_nativeImage, &horzRes).ThrowIfFailed(); 479PInvokeGdiPlus.GdipGetImageVerticalResolution(_nativeImage, &vertRes).ThrowIfFailed(); 494PInvokeGdiPlus.GdipGetImageFlags(_nativeImage, &flags).ThrowIfFailed(); 508PInvokeGdiPlus.GdipGetImageRawFormat(_nativeImage, &guid).ThrowIfFailed(); 528PInvokeGdiPlus.GdipGetPropertyCount(_nativeImage, &count).ThrowIfFailed(); 537PInvokeGdiPlus.GdipGetPropertyIdList(_nativeImage, count, (uint*)pPropid).ThrowIfFailed(); 554PInvokeGdiPlus.GdipGetPropertySize(_nativeImage, &size, &count).ThrowIfFailed(); 566PInvokeGdiPlus.GdipGetAllPropertyItems(_nativeImage, size, count, properties); 602PInvokeGdiPlus.GdipGetImagePaletteSize(_nativeImage, &size).ThrowIfFailed(); 607PInvokeGdiPlus.GdipGetImagePalette(_nativeImage, (GdiPlus.ColorPalette*)b, size).ThrowIfFailed(); 617PInvokeGdiPlus.GdipSetImagePalette(_nativeImage, (GdiPlus.ColorPalette*)b).ThrowIfFailed(); 666PInvokeGdiPlus.GdipImageGetFrameCount(_nativeImage, &dimensionID, &count).ThrowIfFailed(); 677PInvokeGdiPlus.GdipGetPropertyItemSize(_nativeImage, (uint)propid, &size).ThrowIfFailed(); 688PInvokeGdiPlus.GdipGetPropertyItem(_nativeImage, (uint)propid, size, property).ThrowIfFailed(); 700PInvokeGdiPlus.GdipImageSelectActiveFrame(_nativeImage, &dimensionID, (uint)frameIndex).ThrowIfFailed(); 720PInvokeGdiPlus.GdipSetPropertyItem(_nativeImage, &native).ThrowIfFailed(); 727PInvokeGdiPlus.GdipImageRotateFlip(_nativeImage, (GdiPlus.RotateFlipType)rotateFlipType).ThrowIfFailed(); 736PInvokeGdiPlus.GdipRemovePropertyItem(_nativeImage, (uint)propid).ThrowIfFailed(); 748PInvokeGdiPlus.GdipGetEncoderParameterListSize(_nativeImage, &encoder, &size).ThrowIfFailed(); 759_nativeImage, 825PInvokeGdiPlus.GdipImageGetFrameDimensionsCount(_nativeImage, &count).ThrowIfFailed(); 836PInvokeGdiPlus.GdipImageGetFrameDimensionsList(_nativeImage, g, count).ThrowIfFailed(); 880PInvokeGdiPlus.GdipImageGetFrameDimensionsCount(image._nativeImage, &dimensions).ThrowIfFailed(); 890PInvokeGdiPlus.GdipImageGetFrameDimensionsList(image._nativeImage, g, dimensions).ThrowIfFailed();