Einhugur Framework for C++

Bitmap Class

A bitmap class which for usage with images. The bitmap class can have a Graphics context, and the image's raw bytes can be accessed and mutated.

Image
   Bitmap

class Bitmap

Constructors

Bitmap
Bitmap
Bitmap
Bitmap

Methods

GetBitsPerPixelReturns the number of bits per pixels in the Bitmap.
GetBytesPerRowReturns the number of bytes per row in the image.
GetGraphics
GetHeightReturns the height of the Bitmap in pixels.
GetImageRef
GetRawDataReturns the raw data of the Bitmap.
GetRowPaddingReturns the row padding.
GetWidthReturns the width of the Bitmap in pixels.
LoadJPEG (Inherited)Loads a image from a JPEG file and returns it as a new image.
LoadPNG (Inherited)Loads 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.