#include <win32_graphics.hpp>
Inheritance diagram for Win32Graphics:
Public Member Functions | |
virtual void | clear () |
Clear the graphics. | |
virtual void | drawBitmap (const GenericBitmap &rBitmap, int xSrc=0, int ySrc=0, int xDest=0, int yDest=0, int width=-1, int height=-1, bool blend=false) |
Render a bitmap on this graphics. | |
virtual void | drawGraphics (const OSGraphics &rGraphics, int xSrc=0, int ySrc=0, int xDest=0, int yDest=0, int width=-1, int height=-1) |
Draw another graphics on this one. | |
virtual void | drawRect (int left, int top, int width, int height, uint32_t color) |
Draw an empty rectangle on the grahics (color is #RRGGBB). | |
virtual void | fillRect (int left, int top, int width, int height, uint32_t color) |
Draw a filled rectangle on the grahics (color is #RRGGBB). | |
virtual void | applyMaskToWindow (OSWindow &rWindow) |
Set the shape of a window with the mask of this graphics. | |
virtual void | copyToWindow (OSWindow &rWindow, int xSrc, int ySrc, int width, int height, int xDest, int yDest) |
Copy the graphics on a window. | |
virtual bool | hit (int x, int y) const |
Tell whether the pixel at the given position is visible. | |
virtual int | getWidth () const |
Getters for the size. | |
virtual HDC | getDC () const |
Get the device context handler. | |
virtual HRGN | getMask () const |
Get the mask. |
Definition at line 35 of file win32_graphics.hpp.