summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-04-01 04:03:52 +0000
committermental <mental@users.sourceforge.net>2006-04-01 04:03:52 +0000
commit03f223af8506284d4d4e27f08b0f6a694ae11dfe (patch)
tree144a0efe64d12d4eaf63e3e5187a5d2e353f5496 /src
parentoops, fix silly crash (diff)
downloadinkscape-03f223af8506284d4d4e27f08b0f6a694ae11dfe.tar.gz
inkscape-03f223af8506284d4d4e27f08b0f6a694ae11dfe.zip
add documentation
(bzr r389)
Diffstat (limited to 'src')
-rw-r--r--src/dyna-draw-context.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/dyna-draw-context.h b/src/dyna-draw-context.h
index ea6822f18..06aeca1e3 100644
--- a/src/dyna-draw-context.h
+++ b/src/dyna-draw-context.h
@@ -46,16 +46,27 @@ struct SPDynaDrawContext
{
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 */