Gfx: Implement GDI+ fallback

This commit is contained in:
Birunthan Mohanathas
2013-07-29 20:54:20 +03:00
parent 44300e2f41
commit 20cac72e9b
6 changed files with 52 additions and 11 deletions

View File

@ -38,9 +38,6 @@ namespace Gfx {
class CanvasD2D : public Canvas
{
public:
CanvasD2D();
~CanvasD2D();
virtual void Resize(int w, int h);
virtual bool BeginDraw();
@ -75,9 +72,12 @@ public:
virtual void FillRectangle(Gdiplus::Rect& rect, const Gdiplus::SolidBrush& brush) override;
private:
friend class Canvas;
friend class FontCollectionD2D;
friend class TextFormatD2D;
CanvasD2D();
~CanvasD2D();
CanvasD2D(const CanvasD2D& other) {}
static bool Initialize();