- Main Page
- Modules
- Classes
- Files

# Layers

## Functions
bool | CxImage::LayerCreate (long position=-1)
bool | CxImage::LayerDelete (long position=-1)
void | CxImage::LayerDeleteAll ()
CxImage * | CxImage::GetLayer (long position)
CxImage * | CxImage::GetParent () const
long | CxImage::GetNumLayers () const
long | CxImage::LayerDrawAll (HDC hdc, long x=0, long y=0, long cx=-1, long cy=-1, RECT *pClipRect=0, bool bSmooth=false)
long | CxImage::LayerDrawAll (HDC hdc, const RECT &rect, RECT *pClipRect=NULL, bool bSmooth=false)

## Detailed Description

## Function Documentation

CxImage * CxImage::GetLayer | ( | long | position | ) | `[inherited]`

Returns a pointer to a layer. If position is less than 0, the last layer will be returned

long CxImage::GetNumLayers | ( |  | ) | const`[inherited]`

Number of layers allocated directly by the object.

CxImage * CxImage::GetParent | ( |  | ) | const`[inherited]`

If the object is an internal layer, GetParent return its parent in the hierarchy.

bool CxImage::LayerCreate | ( | long | position = `-1` | ) | `[inherited]`

Creates an empty layer. If position is less than 0, the new layer will be placed in the last position

bool CxImage::LayerDelete | ( | long | position = `-1` | ) | `[inherited]`

Deletes a layer. If position is less than 0, the last layer will be deleted

void CxImage::LayerDeleteAll | ( |  | ) | `[inherited]`

long CxImage::LayerDrawAll | ( | HDC | hdc,
|  | const RECT & | rect,
|  | RECT * | pClipRect = `NULL`,
|  | bool | bSmooth = `false` |
| ) |  |  | `[inherited]`

long CxImage::LayerDrawAll | ( | HDC | hdc,
|  | long | x = `0`,
|  | long | y = `0`,
|  | long | cx = `-1`,
|  | long | cy = `-1`,
|  | RECT * | pClipRect = `0`,
|  | bool | bSmooth = `false` |
| ) |  |  | `[inherited]`