Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

OSGraphics Class Reference

OS specific graphics class. More...

#include <os_graphics.hpp>

Inheritance diagram for OSGraphics:

SkinObject MacOSXGraphics Win32Graphics X11Graphics List of all members.

Public Member Functions

virtual void clear ()=0
 Clear the 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)=0
 Draw another graphics on this one.
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)=0
 Render a bitmap on this graphics.
virtual void fillRect (int left, int top, int width, int height, uint32_t color)=0
 Draw a filled rectangle on the grahics (color is #RRGGBB).
virtual void drawRect (int left, int top, int width, int height, uint32_t color)=0
 Draw an empty rectangle on the grahics (color is #RRGGBB).
virtual void applyMaskToWindow (OSWindow &rWindow)=0
 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)=0
 Copy the graphics on a window.
virtual bool hit (int x, int y) const =0
 Tell whether the pixel at the given position is visible.
virtual int getWidth () const =0
 Getters.

Detailed Description

OS specific graphics class.

Definition at line 36 of file os_graphics.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Dec 20 10:15:03 2005 for vlc-0.8.4a by  doxygen 1.4.2