rdsigngen:mainline.git
7 years agoMoved calculation of patch layout to calc-layout mode master
Tom Sutch [Mon, 20 Sep 2010 17:51:58 +0000 (18:51 +0100)]
Moved calculation of patch layout to calc-layout mode

7 years agoAdded rudimentary support for arrows in calc-layout mode. Includes using the math...
Tom Sutch [Mon, 20 Sep 2010 14:47:53 +0000 (15:47 +0100)]
Added rudimentary support for arrows in calc-layout mode. Includes using the math functions from EXSLT

7 years agoExplained some of the 'magic numbers' for rectangular sign widths
Tom Sutch [Mon, 20 Sep 2010 13:42:06 +0000 (14:42 +0100)]
Explained some of the 'magic numbers' for rectangular sign widths

7 years agoAdded TODO: adjust size of SVG dynamically
Tom Sutch [Mon, 20 Sep 2010 12:46:59 +0000 (13:46 +0100)]
Added TODO: adjust size of SVG dynamically

7 years agoNew template to match legend with patch. Patch width now not double-counted within...
Tom Sutch [Tue, 31 Aug 2010 16:57:04 +0000 (17:57 +0100)]
New template to match legend with patch. Patch width now not double-counted within legend

7 years agoNow using two-pass method in earnest. Tidied up and deleted commented-out code from...
Tom Sutch [Tue, 31 Aug 2010 16:10:18 +0000 (17:10 +0100)]
Now using two-pass method in earnest. Tidied up and deleted commented-out code from before

8 years agoAdded Transport Medium tile widths; changed width variable names
Tom Sutch [Mon, 22 Feb 2010 22:19:43 +0000 (22:19 +0000)]
Added Transport Medium tile widths; changed width variable names

8 years agoFixed variable references to $thisWidth and $thisHeight; amended template match for...
Tom Sutch [Mon, 22 Feb 2010 21:34:35 +0000 (21:34 +0000)]
Fixed variable references to $thisWidth and $thisHeight; amended template match for text nodes

8 years agoIntroduced two-pass system: first pass adds layout information to the source tree...
Tom Sutch [Mon, 22 Feb 2010 21:15:53 +0000 (21:15 +0000)]
Introduced two-pass system: first pass adds layout information to the source tree; second pass uses it. Also added debug parameter to output the original and augmented tree if required. Not being used in anger yet.

8 years agoMade road number regex more human-readable; added statement of intent for width calcu...
Tom Sutch [Sat, 20 Feb 2010 23:54:16 +0000 (23:54 +0000)]
Made road number regex more human-readable; added statement of intent for width calculation!

8 years agoAdded named template for arrow
Tom Sutch [Sat, 20 Feb 2010 22:12:38 +0000 (22:12 +0000)]
Added named template for arrow

8 years agoExpanded rdnum regex to include optional brackets; tried positioning patch
Tom Sutch [Sat, 20 Feb 2010 18:59:04 +0000 (18:59 +0000)]
Expanded rdnum regex to include optional brackets; tried positioning patch

8 years agoAdded draw mode, and dummy primary patch, awaiting refinement!
Tom Sutch [Thu, 18 Feb 2010 00:21:58 +0000 (00:21 +0000)]
Added draw mode, and dummy primary patch, awaiting refinement!

8 years agoadded snippets and example signs directories
Tom Sutch [Wed, 17 Feb 2010 23:43:56 +0000 (23:43 +0000)]
added snippets and example signs directories

8 years agoParametrised stroke and fill for rounded rectangle
Tom Sutch [Wed, 17 Feb 2010 23:42:49 +0000 (23:42 +0000)]
Parametrised stroke and fill for rounded rectangle

8 years agoChanges to allow a more flexible tree (ie legend not nec direct child of sign);
Tom Sutch [Wed, 17 Feb 2010 23:06:44 +0000 (23:06 +0000)]
Changes to allow a more flexible tree (ie legend not nec direct child of sign);

8 years agoAdded todo: more sophisticated addition of spacing
Tom Sutch [Wed, 17 Feb 2010 19:59:49 +0000 (19:59 +0000)]
Added todo: more sophisticated addition of spacing

8 years agoAdded rdnum template with regex matching to insert spaces
Tom Sutch [Wed, 17 Feb 2010 19:46:44 +0000 (19:46 +0000)]
Added rdnum template with regex matching to insert spaces

8 years agoDealt with thickness of rounded rectangle properly, within named template
Tom Sutch [Tue, 16 Feb 2010 18:14:12 +0000 (18:14 +0000)]
Dealt with thickness of rounded rectangle properly, within named template

8 years agoText now placed, aligned and padded
Tom Sutch [Tue, 16 Feb 2010 18:06:42 +0000 (18:06 +0000)]
Text now placed, aligned and padded

8 years agoAdded signwidth as parameter to allow its use within individual legend lines
Tom Sutch [Tue, 16 Feb 2010 16:39:37 +0000 (16:39 +0000)]
Added signwidth as parameter to allow its use within individual legend lines

8 years agoNamed template for rounded rectangle
Tom Sutch [Tue, 16 Feb 2010 14:11:19 +0000 (14:11 +0000)]
Named template for rounded rectangle

8 years agoSorted out SVG namespace; added basic rectangle
Tom Sutch [Tue, 16 Feb 2010 13:02:08 +0000 (13:02 +0000)]
Sorted out SVG namespace; added basic rectangle

8 years agoStarted master stylesheet
Tom Sutch [Tue, 16 Feb 2010 12:22:26 +0000 (12:22 +0000)]
Started master stylesheet

8 years agoinitial creation from test files
Tom Sutch [Tue, 16 Feb 2010 11:53:44 +0000 (11:53 +0000)]
initial creation from test files