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

Password:

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

Blob2DW Class Reference

#include <OBLOB2W.H>

List of all members.

Public Methods

 Blob2DW ()
 Blob2DW (Blob2DW &)
 ~Blob2DW ()
Blob2DW & operator= (Blob2DW &)
void resize (short left, short top, short w, short h)
int extend_to (short x, short y)
int extend_to (short x1, short y1, short x2, short y2)
short * bitmap_ptr ()
short * buf_ptr ()
int buf_pitch ()
int buf_true_pitch ()
short * p (short x, short y, int autoExtend=1)
void fill_area (short x1, short y1, short x2, short y2, short color, int autoExtend=1)
void auto_clip (short *pLeft, short *pTop, short *pWidth, short *pHeight, int autoResize=1)
void clear ()
int is_clear ()

Public Attributes

BitmapWptr
unsigned int alloc_size
short left_edge
short top_edge
short width
short height


Detailed Description

UI classes for 2D binary block, four side extensible (?). Not sure of the difference between Blob2D and Blob2DW.

Definition at line 13 of file OBLOB2W.H.


Constructor & Destructor Documentation

Blob2DW::Blob2DW  
 

Definition at line 15 of file OBLOB2W.CPP.

References alloc_size, DEFAULT_BLOB2DW_SIZE, height, BitmapW::init(), left_edge, mem_add, ptr, top_edge, and width.

Blob2DW::Blob2DW Blob2DW &   
 

Definition at line 22 of file OBLOB2W.CPP.

References alloc_size, err_when, height, left_edge, mem_add, ptr, top_edge, and width.

Blob2DW::~Blob2DW  
 

Definition at line 37 of file OBLOB2W.CPP.

References mem_del, and ptr.


Member Function Documentation

void Blob2DW::auto_clip short *    pLeft,
short *    pTop,
short *    pWidth,
short *    pHeight,
int    autoResize = 1
 

Definition at line 279 of file OBLOB2W.CPP.

References alloc_size, BACKGROUND_COLOR, BitmapW::get_pitch(), BitmapW::get_ptr(), height, left_edge, mem_resize, ptr, resize(), BitmapW::size(), top_edge, and width.

short* Blob2DW::bitmap_ptr   [inline]
 

Definition at line 33 of file OBLOB2W.H.

Referenced by MouseCursor::process().

int Blob2DW::buf_pitch   [inline]
 

Definition at line 35 of file OBLOB2W.H.

References BitmapW::get_pitch().

short* Blob2DW::buf_ptr   [inline]
 

Definition at line 34 of file OBLOB2W.H.

References BitmapW::bitmap.

int Blob2DW::buf_true_pitch   [inline]
 

Definition at line 36 of file OBLOB2W.H.

References BitmapW::get_true_pitch().

void Blob2DW::clear  
 

Definition at line 352 of file OBLOB2W.CPP.

References err_when, height, BitmapW::init(), left_edge, ptr, top_edge, and width.

int Blob2DW::extend_to short    x1,
short    y1,
short    x2,
short    y2
 

Definition at line 205 of file OBLOB2W.CPP.

References height, left_edge, resize(), top_edge, and width.

int Blob2DW::extend_to short    x,
short    y
 

Definition at line 172 of file OBLOB2W.CPP.

References height, left_edge, resize(), top_edge, and width.

Referenced by fill_area(), and p().

void Blob2DW::fill_area short    x1,
short    y1,
short    x2,
short    y2,
short    color,
int    autoExtend = 1
 

Definition at line 251 of file OBLOB2W.CPP.

References extend_to(), BitmapW::get_ptr(), BitmapW::get_true_pitch(), height, IMGbar(), left_edge, ptr, top_edge, and width.

Referenced by resize().

int Blob2DW::is_clear   [inline]
 

Definition at line 43 of file OBLOB2W.H.

References height, and width.

Blob2DW & Blob2DW::operator= Blob2DW &   
 

Definition at line 41 of file OBLOB2W.CPP.

References alloc_size, err_when, height, left_edge, mem_add, mem_del, ptr, BitmapW::size(), top_edge, and width.

short * Blob2DW::p short    x,
short    y,
int    autoExtend = 1
 

Definition at line 238 of file OBLOB2W.CPP.

References extend_to(), BitmapW::get_ptr(), height, left_edge, NULL, ptr, top_edge, and width.

void Blob2DW::resize short    left,
short    top,
short    w,
short    h
 

Definition at line 63 of file OBLOB2W.CPP.

References alloc_size, BACKGROUND_COLOR, DEFAULT_BLOB2DW_INC, err_when, fill_area(), BitmapW::get_pitch(), BitmapW::get_ptr(), BitmapW::get_true_pitch(), height, IMGbar(), BitmapW::init(), left_edge, mem_add, mem_del, mem_resize, ptr, BitmapW::size(), top_edge, and width.

Referenced by auto_clip(), and extend_to().


Member Data Documentation

unsigned int Blob2DW::alloc_size
 

Definition at line 16 of file OBLOB2W.H.

Referenced by auto_clip(), Blob2DW(), operator=(), and resize().

short Blob2DW::height
 

Definition at line 20 of file OBLOB2W.H.

Referenced by auto_clip(), Blob2DW(), clear(), extend_to(), fill_area(), is_clear(), operator=(), p(), and resize().

short Blob2DW::left_edge
 

Definition at line 17 of file OBLOB2W.H.

Referenced by auto_clip(), Blob2DW(), clear(), extend_to(), fill_area(), operator=(), p(), and resize().

BitmapW* Blob2DW::ptr
 

Definition at line 15 of file OBLOB2W.H.

Referenced by auto_clip(), Blob2DW(), clear(), fill_area(), operator=(), p(), resize(), and ~Blob2DW().

short Blob2DW::top_edge
 

Definition at line 18 of file OBLOB2W.H.

Referenced by auto_clip(), Blob2DW(), clear(), extend_to(), fill_area(), operator=(), p(), and resize().

short Blob2DW::width
 

Definition at line 19 of file OBLOB2W.H.

Referenced by auto_clip(), Blob2DW(), clear(), extend_to(), fill_area(), is_clear(), operator=(), p(), and resize().


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