Example #1
0
File: Image.cs Project: misiek/foo
 public void Dispose()
 {
     if (nativeImage != IntPtr.Zero)
     {
         NativeMethods.GdipDisposeImage(nativeImage);
         nativeImage = null;
     }
 }
Example #2
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipImageSelectActiveFrame(GpImage image, ref Guid dimensionID,
     uint frameIndex);
Example #3
0
GdipCreateTexture2I(GpImage image, WrapMode wrapmode, int x,
     int y, int width, int height, out GpTexture texture);
Example #4
0
GdipCreateTexture2(GpImage image, WrapMode wrapmode, float x,
    float y, float width, float height, out GpTexture texture);
Example #5
0
GdipGetTextureImage(GpTexture brush, out GpImage image);
Example #6
0
 public static extern GpStatus GdipGetTextureImage(GpTexture brush, out GpImage image);
Example #7
0
    public static extern GpStatus GdipCreateTextureIA(GpImage image,
 GpImageAttributes imageAttributes,
 float x, float y, float width, float height,
 out GpTexture texture);
Example #8
0
     public static extern GpStatus GdipCreateTexture2(GpImage image, WrapMode wrapmode, float x,
 float y, float width, float height, out GpTexture texture);
Example #9
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipDrawImageI(GpGraphics graphics, GpImage image, int x, int y);
Example #10
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipDrawImage(GpGraphics graphics, GpImage image, float x, float y);
Example #11
0
File: Images.cs Project: misiek/foo
    public static extern GpStatus GdipSaveImageToFile(GpImage image, string filename,
 ref Guid clsidEncoder,
 EncoderParameters encoderParams);
Example #12
0
File: Images.cs Project: misiek/foo
       public static extern GpStatus GdipSaveAddImage(GpImage image, GpImage newImage,
 EncoderParameters encoderParams);
Example #13
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipDisposeImage(GpImage image);
Example #14
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipLoadImageFromStream(IStream stream, out GpImage image);
Example #15
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipLoadImageFromFile([MarshalAs(UnmanagedType.BStr)]string filename, out GpImage image);
Example #16
0
 internal ImagePlus(GpImage nativeImage, GpStatus status)
 {
     SetNativeImage(nativeImage);
 }
Example #17
0
 internal void SetNativeImage(GpImage nativeImage)
 {
     this.nativeImage = nativeImage;
 }
Example #18
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipDrawImagePointRect(GpGraphics graphics, GpImage image, float x,
                         float y, float srcx, float srcy, float srcwidth,
                         float srcheight, Unit srcUnit);
Example #19
0
    public static extern GpStatus GdipCreateTexture2I(GpImage image, WrapMode wrapmode, int x,
 int y, int width, int height, out GpTexture texture);
Example #20
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipDrawImagePointRectI(GpGraphics graphics, GpImage image, int x,
                         int y, int srcx, int srcy, int srcwidth,
                         int srcheight, Unit srcUnit);
Example #21
0
   public static extern GpStatus GdipCreateTextureIAI(GpImage image,
 GpImageAttributes imageAttributes,
 int x, int y, int width, int height,
 out GpTexture texture);
Example #22
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipDrawImagePointsI(GpGraphics graphics, GpImage image,
                      GpPoint[] dstpoints, int count);
Example #23
0
 public static extern GpStatus GdipCreateTexture(GpImage image, WrapMode wrapmode,
    out GpTexture texture);
Example #24
0
File: Images.cs Project: misiek/foo
        public static extern GpStatus 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);
Example #25
0
GdipCreateTexture(GpImage image, WrapMode wrapmode,
           out GpTexture texture);
Example #26
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipDrawImageRect(GpGraphics graphics, GpImage image, float x, float y,
                    float width, float height);
Example #27
0
GdipCreateTextureIA(GpImage image,
     GpImageAttributes imageAttributes,
     float x, float y, float width, float height,
     out GpTexture texture);
Example #28
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipDrawImageRectI(GpGraphics graphics, GpImage image, int x, int y,
                    int width, int height);
Example #29
0
GdipCreateTextureIAI(GpImage image,
      GpImageAttributes imageAttributes,
      int x, int y, int width, int height,
      out GpTexture texture);
Example #30
0
File: Images.cs Project: misiek/foo
 public static extern GpStatus GdipDrawImageRectRect(GpGraphics graphics, GpImage image, float dstx,
               float dsty, float dstwidth, float dstheight,
               float srcx, float srcy, float srcwidth, float srcheight,
               Unit srcUnit,
               GpImageAttributes imageAttributes,
               IntPtr callback, IntPtr callbackData);