- Main Page
- Modules
- Classes
- Files

# Layers

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

## Detailed Description

## Function Documentation

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

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

int32_t 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 | ( | int32_t | 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 | ( | int32_t | position = `-1` | ) | `[inherited]`

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

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

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

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