From f7e20d86e78f841aac847820d584d49c6a37d113 Mon Sep 17 00:00:00 2001 From: Nicola Fontana Date: Thu, 20 Aug 2009 03:44:21 +0200 Subject: [PATCH] [docs] Updated TODO.xml --- docs/gnu/TODO.xml | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/docs/gnu/TODO.xml b/docs/gnu/TODO.xml index ee503e8f..c2f703a9 100644 --- a/docs/gnu/TODO.xml +++ b/docs/gnu/TODO.xml @@ -66,7 +66,7 @@ must be reflected in the demo programs, where applicable. Add AdgWidget, a GtkDrawingArea derived class that could accept an AdgCanvas. Optimize the implemented entities applying the 0.4 ADG infractrusture and enable caching where applicable. - Use AdgToyText to draw dimenstion quote where applicable. + Use AdgToyText to draw dimenstion quote where applicable. Add a "beyond" property to AdgDimStyle to be used when extending the baseline beyond the extension lines. If not specified, it must default to 3 x arrow size. @@ -83,21 +83,27 @@ must be reflected in the demo programs, where applicable. Road to adg-0.6.0 - Implement the outside arrows in AdgLDim. - Rename Arrow to Marker: the latter is more generic (that is, better). Rename StyleId to StyleType: the latter is more clear. - Implement AdgMarker as a customizable entity able to render (at least) - the styles defined in AdgMarkerStyleType. Also, the ARROW and TRIANGLE - styles should follow the director path that could be a curve. Use the - METAPOST solution suggested by John Hobby I don't know where, that is, - given angle and size, rotate the path by half angle in both directions, - look for intersection with a circle at the end of the director path - with radius size, close the resulting path and fill the arrow. - Rework styles by using GObject and properties. - Modify AdgMarkerStyle to use the newly implemented AdgMarker entity. - Implement a basic AdgHatchStyle, derived from AdgLineStyle. + Implement AdgMarker as a model: it will be the base class for arrows, + ticks, squares and so on. + Implement at least AdgArrow as AdgMarker derived model. + Implement AdgCap, an entity that relates to AdgMarker as AdgStroke + does for AdgPath. + Rename AdgArrowStyle to AdgMarkerStyle and update the code to use the + newly created AdgMarker model. Change AdgDim and AdgLDim to use this + new implementation. + Implement the outside arrows in AdgLDim. Add AdgADim, the angular dimension. Add AdgRDim, the radial dimension. + The ARROW and TRIANGLE markers should follow the director path that + could be a curve. Use the METAPOST solution suggested by John Hobby I + don't know where, that is, given angle and size, + rotate the path by half angle in both directions, look for intersection + with a circle centered at the end of the director path with radius size, + close the resulting path and optionally fill the arrow. + Rework styles by using GObject and properties. + Modify AdgMarkerStyle to use the newly implemented AdgMarker entity. + Implement a basic AdgHatchStyle, derived from AdgLineStyle. AdgPath should be an abstract class from which derive AdgPolyline, the basic stroked path entity. Add AdgHatch, an entity very similar to AdgStroke. @@ -120,7 +126,7 @@ must be reflected in the demo programs, where applicable. Implement AdgText, a generic text management, using pango. Add self-intersection API for CPML segments. Add datum support: for implementation ideas checkout this - draft. + draft. Add a CpmlArc primitive and some API to CpmlCurve to be able to check if a curve is an arc approximation. This gives additional information to do some operation, such as a proper arc offseting. -- 2.11.4.GIT