24#ifndef PREVIEW_PREVIEW_DRAW_CONTEXT__H_ 
   25#define PREVIEW_PREVIEW_DRAW_CONTEXT__H_ 
   68                           double aFillAngle, 
bool aDeEmphasised );
 
   89                         int aDashFill, 
bool aDeEmphasised );
 
 
A color representation with 4 components: red, green, blue, alpha.
 
Abstract interface for drawing on a 2D-surface.
 
float m_lineWidth
The line width to use for items.
 
const KIGFX::RENDER_SETTINGS & m_render_settings
The current layer to draw onto.
 
void DrawCircleDashed(const VECTOR2I &aOrigin, double aRad, double aStepAngle, double aFillAngle, bool aDeEmphasised)
Draw a dashed preview circle on the current layer.
 
DRAW_CONTEXT(KIGFX::VIEW &aView)
 
void DrawArcWithAngleHighlight(const VECTOR2I &aOrigin, double aRad, double aStartAngle, double aEndAngle)
Draw an arc on the current layer, with a special highlight when the line angle is a multiple of 45 de...
 
void DrawLine(const VECTOR2I &aStart, const VECTOR2I &aEnd, bool aDeEmphasised)
Draw a simple line on the current layer.
 
void DrawLineWithAngleHighlight(const VECTOR2I &aStart, const VECTOR2I &aEnd, bool aDeEmphasised)
Draw a straight line on the current layer, with a special highlight when the line angle is a multiple...
 
void DrawLineDashed(const VECTOR2I &aStart, const VECTOR2I &aEn, int aDashStep, int aDashFill, bool aDeEmphasised)
Draw a dashed line on the current layer.
 
COLOR4D getSpecialAngleColour() const
The GAL to draw into.
 
void DrawCircle(const VECTOR2I &aOrigin, double aRad, bool aDeEmphasised)
Draw a preview circle on the current layer.
 
Container for all the knowledge about how graphical objects are drawn on any output surface/device.
 
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
 
GAL_LAYER_ID
GAL layers are "virtual" layers, i.e.
 
The Cairo implementation of the graphics abstraction layer.
 
VECTOR2< int32_t > VECTOR2I