diff options
Diffstat (limited to 'src/libui_sdl/libui/windows/draw.hpp')
-rw-r--r-- | src/libui_sdl/libui/windows/draw.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libui_sdl/libui/windows/draw.hpp b/src/libui_sdl/libui/windows/draw.hpp new file mode 100644 index 0000000..b015791 --- /dev/null +++ b/src/libui_sdl/libui/windows/draw.hpp @@ -0,0 +1,16 @@ +// 5 may 2016 + +// draw.cpp +extern ID2D1Factory *d2dfactory; +struct uiDrawContext { + ID2D1RenderTarget *rt; + // TODO find out how this works + std::vector<struct drawState> *states; + ID2D1PathGeometry *currentClip; +}; + +// drawpath.cpp +extern ID2D1PathGeometry *pathGeometry(uiDrawPath *p); + +// drawmatrix.cpp +extern void m2d(uiDrawMatrix *m, D2D1_MATRIX_3X2_F *d); |