Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

PLSubBmp Class Reference

#include <plsubbmp.h>

Inheritance diagram for PLSubBmp:

PLBmpBase PLBmpInfo List of all members.

Public Member Functions

 PLSubBmp ()
 Creates an empty bitmap.

virtual ~PLSubBmp ()
 Destroys the bitmap.

virtual void Create (PLBmpBase &SrcBmp, const PLRect &SrcRect)
 Creates a PLSubBmp as a rectangle in another bitmap.

virtual void Create (int Width, int Height, const PLPixelFormat &pf, PLBYTE *pBits, int Stride)

Detailed Description

A PLSubBmp is a way to manipulate bitmap data in an application-defined memory region or a rectangular subsection of another PLBmp. All operations on PLBmps that don't change the size or bpp of the image can be performed on a PLSubBmp. A PLSubBmp can be used as source for all filter operations. It doesn't own the pixel data it manipulates, so care must be taken to ensure that the data remains valid as long as the PLSubBmp exists.

Definition at line 27 of file plsubbmp.h.


Member Function Documentation

virtual void PLSubBmp::Create int  Width,
int  Height,
const PLPixelFormat &  pf,
PLBYTE *  pBits,
int  Stride
[virtual]
 

Creates a PLSubBmp from an arbitrary memory region. Stride is the distance in bytes from one line of the bitmap to the next.


The documentation for this class was generated from the following file:
Generated on Mon Sep 13 16:16:42 2004 for paintlib by doxygen 1.3.2