Overview Chapter

## class CDXLayer

Constructors and Destructors
| CDXLayer | Creates a DirectDrawSurface object holding the bitmap pointed to by szFilename.

Operations
| MoveTo | Sets the position in the bitmap.
| ScrollDown | Scroll the bitmap down by the number of pixels indicated by offset.
| ScrollLeft | Scroll the bitmap left by the number of pixels indicated by offset.
| ScrollRight | Scroll the bitmap right by the number of pixels indicated by offset.
| ScrollUp | Scroll the bitmap up by the number of pixels indicated by offset.

Overridables
| Draw | Copies the bitmap from the source surface to the surface pointed to by lpDDS.
| Draw | Draw the layer at the given X, Y location to the surface lpDDS.
| DrawTrans | Draw the layer using the transparent color at the given X, Y location to the surface lpDDS.

Data Members |
| public
| int m_XOffset; | The current X position in pixels.
| int m_YOffset; | The current Y position in pixels.