diff options
author | crupest <crupest@outlook.com> | 2023-10-06 20:55:42 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-10-06 20:55:42 +0800 |
commit | 538616817a749642836ad3b2faff16706500602e (patch) | |
tree | 4c1f00d653e7b339a4fbd505cd686993589c2c8c /demos/Graphics/DrawCircle/CairoMain.cpp | |
parent | ded4428d7286925db1f5ab9f18f549c85033839d (diff) | |
download | cru-538616817a749642836ad3b2faff16706500602e.tar.gz cru-538616817a749642836ad3b2faff16706500602e.tar.bz2 cru-538616817a749642836ad3b2faff16706500602e.zip |
...
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; +} |