Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

Bitmap class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Bitmap Class Reference

#include <OBITMAP.H>

List of all members.

Public Methods

void init (short w, short h)
short get_width ()
short get_height ()
short get_pitch ()
short get_true_pitch ()
unsigned char * get_ptr ()
unsigned char * get_ptr (short x, short y)
long size ()

Static Public Methods

Bitmap * mem_add_bitmap (short w, short h)
long size (short w, short h)

Public Attributes

short width_field
short height_field
unsigned char bitmap [1]


Member Function Documentation

short Bitmap::get_height   [inline]
 

Definition at line 21 of file OBITMAP.H.

References height_field.

short Bitmap::get_pitch  
 

Definition at line 17 of file OBITMAP.CPP.

References width_field.

Referenced by Blob2D::auto_clip(), Blob2D::buf_pitch(), and Blob2D::resize().

unsigned char * Bitmap::get_ptr short    x,
short    y
 

Definition at line 32 of file OBITMAP.CPP.

References bitmap, and width_field.

unsigned char* Bitmap::get_ptr   [inline]
 

Definition at line 24 of file OBITMAP.H.

References bitmap.

Referenced by Blob2D::auto_clip(), Blob2D::fill_area(), Blob2D::p(), and Blob2D::resize().

short Bitmap::get_true_pitch  
 

Definition at line 25 of file OBITMAP.CPP.

References width_field.

short Bitmap::get_width   [inline]
 

Definition at line 20 of file OBITMAP.H.

References width_field.

void Bitmap::init short    w,
short    h
 

Definition at line 8 of file OBITMAP.CPP.

References height_field, and width_field.

Referenced by Blob2D::Blob2D(), Blob2D::clear(), mem_add_bitmap(), and Blob2D::resize().

Bitmap * Bitmap::mem_add_bitmap short    w,
short    h
[static]
 

Definition at line 56 of file OBITMAP.CPP.

References bitmap, init(), mem_add, and size().

long Bitmap::size short    w,
short    h
[static]
 

Definition at line 48 of file OBITMAP.CPP.

long Bitmap::size  
 

Definition at line 40 of file OBITMAP.CPP.

References height_field, and width_field.

Referenced by Blob2D::auto_clip(), mem_add_bitmap(), Blob2D::operator=(), VgaBuf::put_large_bitmap(), and Blob2D::resize().


Member Data Documentation

unsigned char Bitmap::bitmap[1]
 

Definition at line 12 of file OBITMAP.H.

Referenced by Blob2D::buf_ptr(), get_ptr(), and mem_add_bitmap().

short Bitmap::height_field
 

Definition at line 11 of file OBITMAP.H.

Referenced by get_height(), init(), and size().

short Bitmap::width_field
 

Definition at line 10 of file OBITMAP.H.

Referenced by get_pitch(), get_ptr(), get_true_pitch(), get_width(), init(), and size().


The documentation for this class was generated from the following files:
Generated on Fri Aug 23 01:39:00 2002 for VirtualU by doxygen1.2.17