Optibits
Loading...
Searching...
No Matches
GraphicsBase.hpp
1#pragma once
2
3namespace Optibits
4{
5 typedef double ZPos;
6
7 enum BlendMode
8 {
9 BM_DEFAULT,
10 BM_INTERPOLATE = BM_DEFAULT,
11 BM_ADD,
12 BM_MULTIPLY
13 };
14
15 enum FontFlags
16 {
17 FF_BOLD = 1,
18 FF_ITALIC = 2,
19 FF_UNDERLINE = 4,
20 FF_COMBINATIONS = 8
21 };
22
23 enum Alignment
24 {
25 AL_LEFT,
26 AL_RIGHT,
27 AL_CENTER,
28 AL_JUSTIFY
29 };
30
31 enum ImageFlags
32 {
33 IF_SMOOTH = 0,
34
35 IF_TILEABLE_LEFT = 1 << 1,
36 IF_TILEABLE_TOP = 1 << 2,
37 IF_TILEABLE_RIGHT = 1 << 3,
38 IF_TILEABLE_BOTTOM = 1 << 4,
39 IF_TILEABLE = IF_TILEABLE_LEFT | IF_TILEABLE_TOP | IF_TILEABLE_RIGHT | IF_TILEABLE_BOTTOM,
40
41 IF_RETRO = 1 << 5
42 };
43
44}