예제 #1
0
파일: Image.cs 프로젝트: mitice/foo
 public void Dispose()
 {
     if (nativeImage != IntPtr.Zero)
     {
         NativeMethods.GdipDisposeImage(nativeImage);
         nativeImage = null;
     }
 }
예제 #2
0
 GdipDrawImage(GpGraphics graphics, GpImage image, float x, float y);
예제 #3
0
파일: Image.cs 프로젝트: mitice/foo
 internal void SetNativeImage(GpImage nativeImage)
 {
     this.nativeImage = nativeImage;
 }
예제 #4
0
 GdipGetImageFlags(GpImage image, out uint flags);
예제 #5
0
 GdipGetImageHorizontalResolution(GpImage image, out float resolution);
예제 #6
0
 GdipGetImageWidth(GpImage image, out uint width);
예제 #7
0
 GdipGetImageDimension(GpImage image, out float width, out float height);
예제 #8
0
 GdipGetImageBounds(GpImage image, float[] srcRect, Unit srcUnit);
예제 #9
0
 GdipDrawImagePointRectI(GpGraphics graphics, GpImage image, int x,
                         int y, int srcx, int srcy, int srcwidth,
                         int srcheight, Unit srcUnit);
예제 #10
0
 GdipDrawImagePointRect(GpGraphics graphics, GpImage image, float x,
                        float y, float srcx, float srcy, float srcwidth,
                        float srcheight, Unit srcUnit);
예제 #11
0
 GdipDrawImagePointsI(GpGraphics graphics, GpImage image,
                      GpPoint[] dstpoints, int count);
예제 #12
0
 GdipDrawImageRectI(GpGraphics graphics, GpImage image, int x, int y,
                    int width, int height);
예제 #13
0
 GdipLoadImageFromFile([MarshalAs(UnmanagedType.BStr)] string filename, out GpImage image);
예제 #14
0
 GdipDrawImageRect(GpGraphics graphics, GpImage image, float x, float y,
                   float width, float height);
예제 #15
0
 GdipDrawImageI(GpGraphics graphics, GpImage image, int x, int y);
예제 #16
0
 GdipGetImageGraphicsContext(GpImage image, out GpGraphics graphics);
예제 #17
0
 GdipGetImageBounds(GpImage image, out GpRectF srcRect, out Unit srcUnit);
예제 #18
0
 GdipDrawImageRectRectI(GpGraphics graphics, GpImage image, int dstx,
                        int dsty, int dstwidth, int dstheight,
                        int srcx, int srcy, int srcwidth, int srcheight,
                        Unit srcUnit,
                        GpImageAttributes imageAttributes,
                        IntPtr callback, IntPtr callbackData);
예제 #19
0
 GdipGetImageBounds(GpImage image, byte[] srcRect, Unit srcUnit);
예제 #20
0
 GdipDrawImagePointsRectI(GpGraphics graphics, GpImage image,
                          GpPoint[] points, int count, int srcx,
                          int srcy, int srcwidth, int srcheight,
                          Unit srcUnit,
                          GpImageAttributes imageAttributes,
                          IntPtr callback, IntPtr callbackData);
예제 #21
0
 GdipGetImageType(GpImage image, out ImageType type);
예제 #22
0
 GdipCloneImage(GpImage image, out GpImage cloneImage);
예제 #23
0
 GdipGetImageHeight(GpImage image, out uint height);
예제 #24
0
 GdipDisposeImage(GpImage image);
예제 #25
0
 GdipGetImageVerticalResolution(GpImage image, out float resolution);
예제 #26
0
 GdipSaveImageToFile(GpImage image, string filename,
                     ref Guid clsidEncoder,
                     EncoderParameters encoderParams);
예제 #27
0
파일: Image.cs 프로젝트: mitice/foo
 internal ImagePlus(GpImage nativeImage, GpStatus status)
 {
     SetNativeImage(nativeImage);
 }
예제 #28
0
 GdipSaveAdd(GpImage image, EncoderParameters encoderParams);
예제 #29
0
 GdipSaveAddImage(GpImage image, GpImage newImage,
                  EncoderParameters encoderParams);
예제 #30
0
 GdipGetPropertyItemSize(GpImage image, PROPID propId, out uint size);