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