## Description

Include file: xbitmap.h

Parent class: XGraphicObject

### Overview

### Functions

#### XBitmap

#### Parameters

XGraphicDevice * device | owner
XPoint * p | left-lower corner
LONG mode | mode, default is ROP_SRCCOPY

XWindow * owner window to draw to

#### Remarks

Construct a bitmap
Construct a bitmap. Dont use this constructor for usage with an graphic device.

#### Exceptions

If the method fails an exception of the type XException is thrown.

#### Load

#### Parameters

char * fileName filename of the file to load
XResource * resource resource

#### Remarks

load a bitmap from a file
load a bitmap from a resource library

#### Exceptions

If the method fails to create a new bitmap an exception of the type XException is thrown.

#### Copy

#### Parameters

XGraphicDevice * device target
XPoint * p point to copy to

#### Remarks

copy the content of the bitmap to a graphic device

#### GetDimensions

#### Parameters

XSize * size buffer to hold the size

#### Remarks

Returns the dimensions

#### SetOutputSize

#### Parameters

XRect * rect new rect (only width and height will be used)

#### Remarks

Set the size of the bitmap to draw. If it is diferent from it physical size, the bitmap will be stretched.

This document was generated by Jens von Pilgrim's Autodoc