MonobjcMonobjc Documented Class Library
CGImage Class
NamespacesMonobjc.ApplicationServicesCGImage

[Missing <summary> documentation for "T:Monobjc.ApplicationServices.CGImage"]

Declaration Syntax
C#Visual BasicVisual C++
public static class CGImage
Public NotInheritable Class CGImage
public ref class CGImage abstract sealed
Members
All MembersMethods



IconMemberDescription
Create(NSUInteger, NSUInteger, NSUInteger, NSUInteger, NSUInteger, IntPtr, CGBitmapInfo, IntPtr, IntPtr, Boolean, CGColorRenderingIntent)

Creates a bitmap image from data supplied by a data provider.

Original signature is 'CGImageRef CGImageCreate ( size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGColorSpaceRef colorspace, CGBitmapInfo bitmapInfo, CGDataProviderRef provider, const CGFloat decode[], bool shouldInterpolate, CGColorRenderingIntent intent );'

Available in Mac OS X version 10.0 and later.


CreateCopy(IntPtr)

Creates a copy of a bitmap image.

Original signature is 'CGImageRef CGImageCreateCopy ( CGImageRef image );'

Available in Mac OS X v10.4 and later.


CreateCopyWithColorSpace(IntPtr, IntPtr)

Create a copy of a bitmap image, replacing its colorspace.

Original signature is 'CGImageRef CGImageCreateCopyWithColorSpace ( CGImageRef image, CGColorSpaceRef colorspace );'

Available in Mac OS X version 10.3 and later.


CreateWithImageInRect(IntPtr, CGRect)

Creates a bitmap image using the data contained within a subregion of an existing bitmap image.

Original signature is 'CGImageRef CGImageCreateWithImageInRect ( CGImageRef image, CGRect rect );'

Available in Mac OS X v10.4 and later.


CreateWithJPEGDataProvider(IntPtr, IntPtr, Boolean, CGColorRenderingIntent)

Creates a bitmap image using JPEG-encoded data supplied by a data provider.

Original signature is 'CGImageRef CGImageCreateWithJPEGDataProvider ( CGDataProviderRef source, const CGFloat decode[], bool shouldInterpolate, CGColorRenderingIntent intent );'

Available in Mac OS X version 10.1 and later.


CreateWithMask(IntPtr, IntPtr)

Creates a bitmap image from an existing image and an image mask.

Original signature is 'CGImageRef CGImageCreateWithMask ( CGImageRef image, CGImageRef mask );'

Available in Mac OS X v10.4 and later.


CreateWithMaskingColors(IntPtr, CGFloat)

Creates a bitmap image by masking an existing bitmap image with the provided color values.

Original signature is 'CGImageRef CGImageCreateWithMaskingColors ( CGImageRef image, const CGFloat components[] );'

Available in Mac OS X v10.4 and later.


CreateWithPNGDataProvider(IntPtr, IntPtr, Boolean, CGColorRenderingIntent)

Creates a Quartz bitmap image using PNG-encoded data supplied by a data provider.

Original signature is 'CGImageRef CGImageCreateWithPNGDataProvider ( CGDataProviderRef source, const CGFloat decode[], bool shouldInterpolate, CGColorRenderingIntent intent );'

Available in Mac OS X version 10.2 and later.


GetAlphaInfo(IntPtr)

Returns the alpha channel information for a bitmap image.

Original signature is 'CGImageAlphaInfo CGImageGetAlphaInfo ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


GetBitmapInfo(IntPtr)

Returns the bitmap information for a bitmap image.

Original signature is 'CGBitmapInfo CGImageGetBitmapInfo ( CGImageRef image );'

Available in Mac OS X v10.4 and later.


GetBitsPerComponent(IntPtr)

Returns the number of bits allocated for a single color component of a bitmap image.

Original signature is 'size_t CGImageGetBitsPerComponent ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


GetBitsPerPixel(IntPtr)

Returns the number of bits allocated for a single pixel in a bitmap image.

Original signature is 'size_t CGImageGetBitsPerPixel ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


GetBytesPerRow(IntPtr)

Returns the number of bytes allocated for a single row of a bitmap image.

Original signature is 'size_t CGImageGetBytesPerRow ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


GetColorSpace(IntPtr)

Return the color space for a bitmap image.

Original signature is 'CGColorSpaceRef CGImageGetColorSpace ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


GetDataProvider(IntPtr)

Returns the data provider for a bitmap image.

Original signature is 'CGDataProviderRef CGImageGetDataProvider ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


GetDecode(IntPtr)

Returns the decode array for a bitmap image.

Original signature is 'const CGFloat * CGImageGetDecode ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


GetHeight(IntPtr)

Returns the height of a bitmap image.

Original signature is 'size_t CGImageGetHeight ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


GetRenderingIntent(IntPtr)

Returns the rendering intent setting for a bitmap image.

Original signature is 'CGColorRenderingIntent CGImageGetRenderingIntent ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


GetShouldInterpolate(IntPtr)

Returns the interpolation setting for a bitmap image.

Original signature is 'bool CGImageGetShouldInterpolate ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


GetWidth(IntPtr)

Returns the width of a bitmap image.

Original signature is 'size_t CGImageGetWidth ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


IsMask(IntPtr)

Returns whether a bitmap image is an image mask.

Original signature is 'bool CGImageIsMask ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


MaskCreate(NSUInteger, NSUInteger, NSUInteger, NSUInteger, NSUInteger, IntPtr, IntPtr, Boolean)

Creates a bitmap image mask from data supplied by a data provider.

Original signature is 'CGImageRef CGImageMaskCreate ( size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGDataProviderRef provider, const CGFloat decode[], bool shouldInterpolate );'

Available in Mac OS X version 10.0 and later.


Release(IntPtr)

Decrements the retain count of a bitmap image.

Original signature is 'void CGImageRelease ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


Retain(IntPtr)

Increments the retain count of a bitmap image.

Original signature is 'CGImageRef CGImageRetain ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.


Inheritance Hierarchy
Object
CGImage
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)