From: mental Date: Sat, 1 Apr 2006 04:03:52 +0000 (+0000) Subject: add documentation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9823f40117ddb27517245ddb42266fc2957af85b;p=inkscape.git add documentation --- diff --git a/ChangeLog b/ChangeLog index fae9f21ac..03d4b32fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 MenTaLguY + + * src/dyna-draw-context.h: add documentation + 2006-03-29 Andrius R. * src/enums.h, src/selection-chemistry.cpp, 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 */