• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

GraphicsBase.hpp

Go to the documentation of this file.
00001 
00002 
00003 
00004 #ifndef GOSU_GRAPHICSBASE_HPP
00005 #define GOSU_GRAPHICSBASE_HPP
00006 
00007 #include <limits>
00008 
00009 namespace Gosu
00010 {
00014     typedef double ZPos;
00015     
00019     const double zImmediate = -std::numeric_limits<double>::infinity();
00020     
00023     enum AlphaMode
00024     {
00027         amDefault,
00031         amAdditive
00032     };
00033     
00034     enum FontFlags
00035     {
00036         ffBold      = 1,
00037         ffItalic    = 2,
00038         ffUnderline = 4
00039     };
00040     
00041     enum TextAlign
00042     {
00043         taLeft,
00044         taRight,
00045         taCenter,
00046         taJustify
00047     };
00048     
00050     enum BorderFlags
00051     {
00052         bfSoft = 0,
00053         bfTileableLeft = 1,
00054         bfTileableTop = 2,
00055         bfTileableRight = 4,
00056         bfTileableBottom = 8,
00057         bfTileable = bfTileableLeft | bfTileableTop | bfTileableRight | bfTileableBottom
00058     };        
00059 }
00060 
00061 #endif

Documentation not clear enough? Please go to one of the places listed on http://www.libgosu.org/ and leave feedback. Thanks!