diff options
Diffstat (limited to 'demos/Graphics/DrawCircle/CairoMain.cpp')
-rw-r--r-- | demos/Graphics/DrawCircle/CairoMain.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/Graphics/DrawCircle/CairoMain.cpp b/demos/Graphics/DrawCircle/CairoMain.cpp new file mode 100644 index 00000000..35d6840b --- /dev/null +++ b/demos/Graphics/DrawCircle/CairoMain.cpp @@ -0,0 +1,12 @@ +#include "cru/platform/graphics/cairo/CairoGraphicsFactory.h" + +#include "DrawCircle.h" + +int main() { + std::unique_ptr<cru::platform::graphics::IGraphicsFactory> graphics_factory( + new cru::platform::graphics::cairo::CairoGraphicsFactory()); + + cru::demos::graphics::DrawCircle(graphics_factory.get()); + + return 0; +} |