1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef HEADER_FLEXLAY_STROKE_DRAWER_HPP
- #define HEADER_FLEXLAY_STROKE_DRAWER_HPP
- #include <memory>
- class Stroke;
- class StrokeDrawerImpl;
- class CL_GraphicContext;
- class StrokeDrawer
- {
- private:
- public:
- StrokeDrawer();
- StrokeDrawer(std::shared_ptr<StrokeDrawerImpl> impl);
- void draw(const Stroke& stroke, CL_GraphicContext* gc);
- bool is_null() const { return !impl.get(); }
- StrokeDrawer clone() const;
- public:
- std::shared_ptr<StrokeDrawerImpl> impl;
- };
- #endif
|