Einhugur Framework for C++

Image Class

Object
   Image

class Image

Constructors

Image
Image

Properties

_imageThe internal CGImageRef variable.

Methods

GetBitsPerPixel
GetHeightReturns the height of the image in pixels.
GetImageRefReturns a Quartz CGImageRef to the image.
GetWidthReturns the width of the image in pixels.
LoadJPEGLoads a image from a JPEG file and returns it as a new image.
LoadPNGLoads a image from a PNG file and returns it as a new image.
Release (Inherited)Decreases reference count by one and deletes the object if the reference count reached zero.
Retain (Inherited)Increases the reference count by one.