Table of Contents
SVG Editor
Content → Rocview → SVG Themes
This documentation is based on Rocrail Version 2.1.4966 dated 03.08.2024 .
The development is still "Work In Progress" (WIP).
Introduction
In July 2024 the idea was born to reduce the number of SVG symbol files;
- at that time there were about
– 313 file inside the SLIM-COLOR folder
– 572 files inside the SpDrS60 folder.
With the newly introduced "dynthemes" coding schema there are
– 43 files in the SLIM-COLOR folder and about 138 files in the SpDrS60 folder.
In addition to Rocview the applications "andRoc" and "RocWeb" have to learn the "dynthemes" coding as well.
This editor is very useful for editing SVG symbols of the SVG Dynamic Themes
The Editor
Start
Dialog
The dialog of the Rocview SVG Editor will look like this:
Parameter | Description |
---|---|
north, east, south, west | rotates the symbol view; "north" is the standard view |
g0, g1, g2, g3, g4 | view just this <g> part of the symbol; "g0" shows the first <g> part of the symbol |
Update | render the code of the symbol (Pressing the Alt-key will also do the update.) |
a pull down list of <g> state IDs of this symbol is generated; example: straight, turnout, left, right | |
Color | color definition options for the first 10 led numbers |
)( | activate the color |
Insert | insert a new element into the symbol |
svg, g, circle, ellipse, line, path, polygon, polyline, rect | predefined elements for insertions |
New | start with a new SVG symbol |
Clear all | clear all content of this SVG symbol |
Duplicate | duplicate this SVH window |
Open… | open an SVG file |
< | open the previous file |
> | open the next file |
Save | save the actual contents |
the full path of this SVG symbol | |
Save as… | save the actual contents to another file |
Cancel | cancel editing without saving the contents |
Apply | XXXX |
OK | close the dialog window |
One example of the Rocview SVG Editor contents is shown below:
Link to the detailed description of SVG Dynamic Themes