2016-05-05 19:23:52 -05:00
|
|
|
// 5 may 2016
|
|
|
|
|
2017-05-31 19:33:40 -05:00
|
|
|
// TODO resolve overlap between this and the other hpp files (some functions leaked into uipriv_windows.hpp)
|
|
|
|
|
2016-05-05 19:23:52 -05:00
|
|
|
// draw.cpp
|
|
|
|
extern ID2D1Factory *d2dfactory;
|
|
|
|
struct uiDrawContext {
|
|
|
|
ID2D1RenderTarget *rt;
|
2016-05-05 20:49:50 -05:00
|
|
|
// TODO find out how this works
|
2016-05-05 19:23:52 -05:00
|
|
|
std::vector<struct drawState> *states;
|
|
|
|
ID2D1PathGeometry *currentClip;
|
|
|
|
};
|
|
|
|
|
|
|
|
// drawpath.cpp
|
|
|
|
extern ID2D1PathGeometry *pathGeometry(uiDrawPath *p);
|
2016-05-05 20:49:50 -05:00
|
|
|
|
|
|
|
// drawmatrix.cpp
|
|
|
|
extern void m2d(uiDrawMatrix *m, D2D1_MATRIX_3X2_F *d);
|