Main Page
Namespaces
Classes
Files
File List
File Members
Gosu
GraphicsBase.hpp
Go to the documentation of this file.
1
2
3
4
#ifndef GOSU_GRAPHICSBASE_HPP
5
#define GOSU_GRAPHICSBASE_HPP
6
7
#include <
Gosu/Platform.hpp
>
8
#include <limits>
9
10
namespace
Gosu
11
{
15
typedef
double
ZPos
;
16
19
enum
AlphaMode
20
{
23
amDefault
,
27
amAdd
,
28
amAdditive
=
amAdd
,
30
amMultiply
31
};
32
33
enum
FontFlags
34
{
35
ffBold
= 1,
36
ffItalic
= 2,
37
ffUnderline
= 4,
38
ffCombinations
= 8
39
};
40
41
enum
TextAlign
42
{
43
taLeft
,
44
taRight
,
45
taCenter
,
46
taJustify
47
};
48
50
enum
BorderFlags
51
{
52
bfSmooth
= 0,
53
bfTileableLeft
= 1,
54
bfTileableTop
= 2,
55
bfTileableRight
= 4,
56
bfTileableBottom
= 8,
57
bfTileable
=
bfTileableLeft
|
bfTileableTop
|
bfTileableRight
|
bfTileableBottom
58
};
59
60
#ifndef SWIG
61
// A not so useful optimization.
62
GOSU_DEPRECATED
const
double
zImmediate
= -std::numeric_limits<double>::infinity();
63
#endif
64
}
65
66
#endif