00001 00002 00003 00004 #ifndef GOSU_GRAPHICSBASE_HPP 00005 #define GOSU_GRAPHICSBASE_HPP 00006 00007 #include <Gosu/Platform.hpp> 00008 #include <limits> 00009 00010 namespace Gosu 00011 { 00015 typedef double ZPos; 00016 00019 enum AlphaMode 00020 { 00023 amDefault, 00027 amAdditive, 00029 amMultiply 00030 }; 00031 00032 enum FontFlags 00033 { 00034 ffBold = 1, 00035 ffItalic = 2, 00036 ffUnderline = 4, 00037 ffCombinations = 8 00038 }; 00039 00040 enum TextAlign 00041 { 00042 taLeft, 00043 taRight, 00044 taCenter, 00045 taJustify 00046 }; 00047 00049 enum BorderFlags 00050 { 00051 bfSmooth = 0, 00052 bfTileableLeft = 1, 00053 bfTileableTop = 2, 00054 bfTileableRight = 4, 00055 bfTileableBottom = 8, 00056 bfTileable = bfTileableLeft | bfTileableTop | bfTileableRight | bfTileableBottom 00057 }; 00058 00059 #ifndef SWIG 00060 // A not so useful optimization. 00061 GOSU_DEPRECATED const double zImmediate = -std::numeric_limits<double>::infinity(); 00062 #endif 00063 } 00064 00065 #endif
Documentation not clear enough? Please go to one of the places listed on http://www.libgosu.org/ and leave feedback. Thanks!