ScummVM API documentation
Nancy::GraphicsManager Class Reference

Public Member Functions

void init ()
 
void draw (bool updateScreen=true)
 
void loadFonts (Common::SeekableReadStream *chunkStream)
 
void loadSystemFonts (const IFF &fontIFF)
 
void loadSystemFonts (const ScriptBootData &boot)
 
void addObject (RenderObject *object)
 
void removeObject (RenderObject *object)
 
void reorderObject (RenderObject *object)
 
void clearObjects ()
 
void redrawAll ()
 
void suppressNextDraw ()
 
const Font * getFont (uint id) const
 
const Font * getFont (const Common::String &name) const
 
int getFontID (const Common::String &name) const
 
uint32 getFontColor (uint id, const Graphics::PixelFormat &format, FontColorState state=kFontColorNormal) const
 
const Graphics::Screen * getScreen ()
 
bool isGameScaled () const
 
const Graphics::ManagedSurface & getGameImage () const
 
Common::Rect getGameBounds () const
 
Common::Point screenToGame (const Common::Point &pos) const
 
Common::Point gameToScreen (const Common::Point &pos) const
 
Common::Rect gameToScreen (const Common::Rect &rect) const
 
const Graphics::PixelFormat & getInputPixelFormat (uint bpp=0)
 
const Graphics::PixelFormat & getScreenPixelFormat ()
 
const Graphics::PixelFormat & getTransparentPixelFormat ()
 
uint32 getTransColor ()
 
Graphics::ManagedSurface & getAutotextSurface (uint16 id)
 
Common::Rect & getAutotextSurfaceBounds (uint16 id)
 
void grabViewportObjects (Common::Array< RenderObject * > &inArray)
 
void screenshotScreen (Graphics::ManagedSurface &inSurf)
 
bool getIsSuppressed () const
 
void debugDrawToScreen (const Graphics::ManagedSurface &surf)
 

Static Public Member Functions

static Common::Rect getScreenBounds ()
 
static void loadSurfacePalette (Graphics::ManagedSurface &inSurf, const Common::Path &paletteFilename, uint paletteStart=0, uint paletteSize=256)
 
static void copyToManaged (const Graphics::Surface &src, Graphics::ManagedSurface &dst, bool verticalFlip=false, bool doubleSize=false)
 
static void copyToManaged (void *src, Graphics::ManagedSurface &dst, uint srcW, uint srcH, const Graphics::PixelFormat &format, bool verticalFlip=false, bool doubleSize=false)
 
static void rotateBlit (const Graphics::ManagedSurface &src, Graphics::ManagedSurface &dest, byte rotation)
 
static void crossDissolve (const Graphics::ManagedSurface &from, const Graphics::ManagedSurface &to, byte alpha, const Common::Rect &rect, Graphics::ManagedSurface &inResult)
 

Public Attributes

Graphics::ManagedSurface _object0
 

The documentation for this class was generated from the following file: