C# Class MonoMac.CoreGraphics.CGImage

Inheritance: INativeObject, IDisposable
Mostrar archivo Open project: kangaroo/maccore Class Usage Examples

Public Methods

Method Description
CGImage ( int width, int height, int bitsPerComponent, int bitsPerPixel, int bytesPerRow, MonoMac.CoreGraphics.CGColorSpace colorSpace, CGBitmapFlags bitmapFlags, CGDataProvider provider, float decode, bool shouldInterpolate, CGColorRenderingIntent intent ) : System
CGImage ( int width, int height, int bitsPerComponent, int bitsPerPixel, int bytesPerRow, MonoMac.CoreGraphics.CGColorSpace colorSpace, CGImageAlphaInfo alphaInfo, CGDataProvider provider, float decode, bool shouldInterpolate, CGColorRenderingIntent intent ) : System
Clone ( ) : CGImage
CreateMask ( int width, int height, int bitsPerComponent, int bitsPerPixel, int bytesPerRow, CGDataProvider provider, float decode, bool shouldInterpolate ) : CGImage
Dispose ( ) : void
FromJPEG ( CGDataProvider provider, float decode, bool shouldInterpolate, CGColorRenderingIntent intent ) : CGImage
FromPNG ( CGDataProvider provider, float decode, bool shouldInterpolate, CGColorRenderingIntent intent ) : CGImage
ScreenImage ( int windownumber, RectangleF bounds ) : CGImage
WithColorSpace ( MonoMac.CoreGraphics.CGColorSpace cs ) : CGImage
WithImageInRect ( RectangleF rect ) : CGImage
WithMask ( CGImage mask ) : CGImage
WithMaskingColors ( float components ) : CGImage

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CGImage ( IntPtr handle ) : System
CGImage ( IntPtr handle, bool owns ) : System
CGImageCreate ( int size_t_width, int size_t_height, int size_t_bitsPerComponent, int size_t_bitsPerPixel, int size_t_bytesPerRow, IntPtr space, CGBitmapFlags bitmapInfo, IntPtr provider, float decode, bool shouldInterpolate, CGColorRenderingIntent intent ) : IntPtr
CGImageCreateCopy ( IntPtr image ) : IntPtr
CGImageCreateCopyWithColorSpace ( IntPtr image, IntPtr space ) : IntPtr
CGImageCreateWithImageInRect ( IntPtr image, RectangleF rect ) : IntPtr
CGImageCreateWithJPEGDataProvider ( IntPtr source, float decode, bool shouldInterpolate, CGColorRenderingIntent intent ) : IntPtr
CGImageCreateWithMask ( IntPtr image, IntPtr mask ) : IntPtr
CGImageCreateWithMaskingColors ( IntPtr image, float components ) : IntPtr
CGImageCreateWithPNGDataProvider ( IntPtr source, float decode, bool shouldInterpolate, CGColorRenderingIntent intent ) : IntPtr
CGImageGetAlphaInfo ( IntPtr image ) : CGImageAlphaInfo
CGImageGetBitmapInfo ( IntPtr image ) : CGBitmapFlags
CGImageGetBitsPerComponent ( IntPtr image ) : int
CGImageGetBitsPerPixel ( IntPtr image ) : int
CGImageGetBytesPerRow ( IntPtr image ) : int
CGImageGetColorSpace ( IntPtr image ) : IntPtr
CGImageGetDataProvider ( IntPtr image ) : IntPtr
CGImageGetDecode ( IntPtr image ) : float*
CGImageGetHeight ( IntPtr image ) : int
CGImageGetRenderingIntent ( IntPtr image ) : CGColorRenderingIntent
CGImageGetShouldInterpolate ( IntPtr image ) : int
CGImageGetWidth ( IntPtr image ) : int
CGImageIsMask ( IntPtr image ) : int
CGImageMaskCreate ( int size_t_width, int size_t_height, int size_t_bitsPerComponent, int size_t_bitsPerPixel, int size_t_bytesPerRow, IntPtr provider, float decode, bool shouldInterpolate ) : IntPtr
CGImageRelease ( IntPtr handle ) : void
CGImageRetain ( IntPtr handle ) : void
CGWindowListCreateImage ( RectangleF screenBounds, CGWindowListOption windowOption, uint windowID, CGWindowImageOption imageOption ) : IntPtr
UIGetScreenImage ( ) : IntPtr

Method Details

CGImage() public method

public CGImage ( int width, int height, int bitsPerComponent, int bitsPerPixel, int bytesPerRow, MonoMac.CoreGraphics.CGColorSpace colorSpace, CGBitmapFlags bitmapFlags, CGDataProvider provider, float decode, bool shouldInterpolate, CGColorRenderingIntent intent ) : System
width int
height int
bitsPerComponent int
bitsPerPixel int
bytesPerRow int
colorSpace MonoMac.CoreGraphics.CGColorSpace
bitmapFlags CGBitmapFlags
provider CGDataProvider
decode float
shouldInterpolate bool
intent CGColorRenderingIntent
return System

CGImage() public method

public CGImage ( int width, int height, int bitsPerComponent, int bitsPerPixel, int bytesPerRow, MonoMac.CoreGraphics.CGColorSpace colorSpace, CGImageAlphaInfo alphaInfo, CGDataProvider provider, float decode, bool shouldInterpolate, CGColorRenderingIntent intent ) : System
width int
height int
bitsPerComponent int
bitsPerPixel int
bytesPerRow int
colorSpace MonoMac.CoreGraphics.CGColorSpace
alphaInfo CGImageAlphaInfo
provider CGDataProvider
decode float
shouldInterpolate bool
intent CGColorRenderingIntent
return System

Clone() public method

public Clone ( ) : CGImage
return CGImage

CreateMask() public static method

public static CreateMask ( int width, int height, int bitsPerComponent, int bitsPerPixel, int bytesPerRow, CGDataProvider provider, float decode, bool shouldInterpolate ) : CGImage
width int
height int
bitsPerComponent int
bitsPerPixel int
bytesPerRow int
provider CGDataProvider
decode float
shouldInterpolate bool
return CGImage

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FromJPEG() public static method

public static FromJPEG ( CGDataProvider provider, float decode, bool shouldInterpolate, CGColorRenderingIntent intent ) : CGImage
provider CGDataProvider
decode float
shouldInterpolate bool
intent CGColorRenderingIntent
return CGImage

FromPNG() public static method

public static FromPNG ( CGDataProvider provider, float decode, bool shouldInterpolate, CGColorRenderingIntent intent ) : CGImage
provider CGDataProvider
decode float
shouldInterpolate bool
intent CGColorRenderingIntent
return CGImage

ScreenImage() public static method

public static ScreenImage ( int windownumber, RectangleF bounds ) : CGImage
windownumber int
bounds System.Drawing.RectangleF
return CGImage

WithColorSpace() public method

public WithColorSpace ( MonoMac.CoreGraphics.CGColorSpace cs ) : CGImage
cs MonoMac.CoreGraphics.CGColorSpace
return CGImage

WithImageInRect() public method

public WithImageInRect ( RectangleF rect ) : CGImage
rect System.Drawing.RectangleF
return CGImage

WithMask() public method

public WithMask ( CGImage mask ) : CGImage
mask CGImage
return CGImage

WithMaskingColors() public method

public WithMaskingColors ( float components ) : CGImage
components float
return CGImage