ICPlus classes

class ICBitmap

^ 
Icon Plus generic bitmap class.

The ICBitmap class creates and manages a bitmap image.

Source:
../ic_bitmap.h:55
Author:
Dmitry A Steklenev
Version:
unknown

Contents

^ 
EntityTypeScopeShort Description
size_typetypedef publicAn unsigned integral type.
ICBitmapconstructor publicConstructs the empty generic bitmap.
ICBitmapconstructor publicConstructs the generic bitmap.
ICBitmapconstructor publicConstructs the generic bitmap from another bitmap object.
~ICBitmapdestructor publicDestructs the generic bitmap.
sizemethod publicReturns the bitmap size in bytes.
padded_sizemethod publicReturns the padded bitmap size in bytes.
widthmethod publicReturns the bitmap width in pixels.
heightmethod publicReturns the bitmap height in pixels.
bits_per_pixelmethod publicReturns the number of bits per pixel.
byte_widthmethod publicReturns the bitmap width in bytes.
mapmethod publicReturns the bitmap pointer.
get_pixelmethod publicReturns the specified pixel.
set_pixelmethod publicSets the specified pixel.
flipmethod publicFlips the generic bitmap.
dumpmethod publicDumps the generic bitmap.
operator =operator publicAssignment operator.
map_bitsattribute protectedundocumented
map_widthattribute protectedundocumented
map_heightattribute protectedundocumented
map_bits_per_pixelattribute protectedundocumented
map_byte_widthattribute protectedundocumented
map_sizeattribute protectedundocumented

typedef size_type

? ^  > 
An unsigned integral type.
Source:
../ic_bitmap.h:58
Code:
public typedef UINT32 size_type

constructor ICBitmap

? ^  < > 
Constructs the empty generic bitmap.
Source:
../ic_bitmap.h:62
Code:
public ICBitmap ( )

constructor ICBitmap

? ^  < > 
Constructs the generic bitmap.
Source:
../ic_bitmap.h:64
Code:
public ICBitmap ( size_type width ,
size_type height ,
size_type bits_per_pixel )

constructor ICBitmap

? ^  < > 
Constructs the generic bitmap from another bitmap object.
Source:
../ic_bitmap.h:66
Code:
public ICBitmap ( const ICBitmap & )

destructor ~ICBitmap

? ^  < > 
Destructs the generic bitmap.
Source:
../ic_bitmap.h:68
Code:
public ~ ICBitmap ( )

method size

? ^  < > 
Returns the bitmap size in bytes.
Source:
../ic_bitmap.h:72
Code:
public size_type size ( ) const

method padded_size

? ^  < > 
Returns the padded bitmap size in bytes.
Source:
../ic_bitmap.h:74
Code:
public size_type padded_size ( size_type boundary ) const

method width

? ^  < > 
Returns the bitmap width in pixels.
Source:
../ic_bitmap.h:76
Code:
public size_type width ( ) const

method height

? ^  < > 
Returns the bitmap height in pixels.
Source:
../ic_bitmap.h:78
Code:
public size_type height ( ) const

method bits_per_pixel

? ^  < > 
Returns the number of bits per pixel.
Source:
../ic_bitmap.h:80
Code:
public size_type bits_per_pixel ( ) const

method byte_width

? ^  < > 
Returns the bitmap width in bytes.
Source:
../ic_bitmap.h:82
Code:
public size_type byte_width ( ) const

method map

? ^  < > 
Returns the bitmap pointer.
Source:
../ic_bitmap.h:84
Code:
public BYTE * map ( )

method get_pixel

? ^  < > 
Returns the specified pixel.
Source:
../ic_bitmap.h:87
Code:
public UINT32 get_pixel ( size_type row ,
size_type col ) const

method set_pixel

? ^  < > 
Sets the specified pixel.
Source:
../ic_bitmap.h:89
Code:
public void set_pixel ( size_type row ,
size_type col ,
UINT32 )

method flip

? ^  < > 
Flips the generic bitmap.
Source:
../ic_bitmap.h:93
Code:
public void flip ( )

method dump

? ^  < > 
Dumps the generic bitmap.
Source:
../ic_bitmap.h:95
Code:
public void dump ( )

operator =

? ^  < > 
Assignment operator.
Source:
../ic_bitmap.h:99
Code:
public ICBitmap & operator = ( const ICBitmap & )

attribute map_bits

? ^  < > 
undocumented
Source:
../ic_bitmap.h:102
Code:
protected BYTE * map_bits

attribute map_width

? ^  < > 
undocumented
Source:
../ic_bitmap.h:103
Code:
protected size_type map_width

attribute map_height

? ^  < > 
undocumented
Source:
../ic_bitmap.h:104
Code:
protected size_type map_height

attribute map_bits_per_pixel

? ^  < > 
undocumented
Source:
../ic_bitmap.h:105
Code:
protected size_type map_bits_per_pixel

attribute map_byte_width

? ^  < > 
undocumented
Source:
../ic_bitmap.h:106
Code:
protected size_type map_byte_width

attribute map_size

? ^  < > 
undocumented
Source:
../ic_bitmap.h:107
Code:
protected size_type map_size

Created Wed Jul 10 21:27:42 2002.
This documentation was generated automatically by
ccdoc v0.8 r26 2001/11/28 bin_opt_emx_os2-2.30.
Click here to submit a bug report or feature request.
Click here to return to the top of the page.