34 std::function<
void(
const VECTOR2I& aPt1,
35 const VECTOR2I& aPt2 )> aStrokeCallback,
36 std::function<
void(
const VECTOR2I& aPt1,
38 const VECTOR2I& aPt3 )> aTriangleCallback ) :
39 GAL( aDisplayOptions )
41 m_strokeCallback = std::move( aStrokeCallback );
42 m_triangleCallback = std::move( aTriangleCallback );
49 std::function<
void(
const VECTOR2I& aPt1,
50 const VECTOR2I& aPt2 )> aStrokeCallback,
52 GAL( aDisplayOptions )
54 m_strokeCallback = std::move( aStrokeCallback );
56 m_outlineCallback = std::move( aOutlineCallback );
58 m_triangulate =
false;
63 GAL( aDisplayOptions )
67 m_outlineCallback = std::move( aOutlineCallback );
69 m_triangulate =
false;
78 std::function<void(
const VECTOR2I& aPt1,
81 std::function<void(
const VECTOR2I& aPt1,
CALLBACK_GAL(KIGFX::GAL_DISPLAY_OPTIONS &aDisplayOptions, std::function< void(const VECTOR2I &aPt1, const VECTOR2I &aPt2)> aStrokeCallback, std::function< void(const VECTOR2I &aPt1, const VECTOR2I &aPt2, const VECTOR2I &aPt3)> aTriangleCallback)
std::function< void(const VECTOR2I &aPt1, const VECTOR2I &aPt2, const VECTOR2I &aPt3)> m_triangleCallback
CALLBACK_GAL(KIGFX::GAL_DISPLAY_OPTIONS &aDisplayOptions, std::function< void(const SHAPE_LINE_CHAIN &aPoly)> aOutlineCallback)
CALLBACK_GAL(KIGFX::GAL_DISPLAY_OPTIONS &aDisplayOptions, std::function< void(const VECTOR2I &aPt1, const VECTOR2I &aPt2)> aStrokeCallback, std::function< void(const SHAPE_LINE_CHAIN &aPoly)> aOutlineCallback)
std::function< void(const SHAPE_LINE_CHAIN &aPoly)> m_outlineCallback
std::function< void(const VECTOR2I &aPt1, const VECTOR2I &aPt2)> m_strokeCallback
Abstract interface for drawing on a 2D-surface.
virtual void DrawGlyph(const KIFONT::GLYPH &aGlyph, int aNth=0, int aTotal=1)
Draw a polygon representing a font glyph.
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...