• 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,
00033         amMultiply
00034     };
00035     
00036     enum FontFlags
00037     {
00038         ffBold         = 1,
00039         ffItalic       = 2,
00040         ffUnderline    = 4,
00041         ffCombinations = 8
00042     };
00043     
00044     enum TextAlign
00045     {
00046         taLeft,
00047         taRight,
00048         taCenter,
00049         taJustify
00050     };
00051     
00053     enum BorderFlags
00054     {
00055         bfSmooth = 0,
00056         bfTileableLeft = 1,
00057         bfTileableTop = 2,
00058         bfTileableRight = 4,
00059         bfTileableBottom = 8,
00060         bfTileable = bfTileableLeft | bfTileableTop | bfTileableRight | bfTileableBottom
00061     };        
00062 }
00063 
00064 #endif

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