index ea6822f18e4f67ae09eb577ec1e8dc9bf5339785..feb38c2f8b745d56357325263c47e1e249faffb4 100644 (file)
--- a/src/dyna-draw-context.h
+++ b/src/dyna-draw-context.h
{
SPEventContext event_context;
+ /** accumulated shape which ultimately goes in svg:path */
SPCurve *accumulated;
+
+ /** canvas items for "comitted" segments */
GSList *segments;
- /* current shape and curves */
+
+ /** canvas item for red "leading" segment */
SPCanvasItem *currentshape;
+ /** shape of red "leading" segment */
SPCurve *currentcurve;
+
+ /** left edge of the stroke; combined to get accumulated */
SPCurve *cal1;
+ /** right edge of the stroke; combined to get accumulated */
SPCurve *cal2;
- /* temporary work area */
+
+ /** left edge points for this segment */
NR::Point point1[SAMPLING_SIZE];
+ /** right edge points for this segment */
NR::Point point2[SAMPLING_SIZE];
+ /** number of edge points for this segment */
gint npoints;
/* repr */
gdouble xtilt;
gdouble ytilt;
/* attributes */
- /* fixme: shuld be merge dragging and dynahand ?? */
guint dragging : 1; /* mouse state: mouse is dragging */
- guint dynahand : 1; /* mouse state: mouse is in draw */
guint use_timeout : 1;
double mass, drag;
double angle;