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 00021 #ifndef SWIG 00022 GOSU_DEPRECATED 00023 #endif 00024 const double zImmediate = -std::numeric_limits<double>::infinity(); 00025 00028 enum AlphaMode 00029 { 00032 amDefault, 00036 amAdditive, 00038 amMultiply 00039 }; 00040 00041 enum FontFlags 00042 { 00043 ffBold = 1, 00044 ffItalic = 2, 00045 ffUnderline = 4, 00046 ffCombinations = 8 00047 }; 00048 00049 enum TextAlign 00050 { 00051 taLeft, 00052 taRight, 00053 taCenter, 00054 taJustify 00055 }; 00056 00058 enum BorderFlags 00059 { 00060 bfSmooth = 0, 00061 bfTileableLeft = 1, 00062 bfTileableTop = 2, 00063 bfTileableRight = 4, 00064 bfTileableBottom = 8, 00065 bfTileable = bfTileableLeft | bfTileableTop | bfTileableRight | bfTileableBottom 00066 }; 00067 } 00068 00069 #endif
Documentation not clear enough? Please go to one of the places listed on http://www.libgosu.org/ and leave feedback. Thanks!