Hello,
with OJ, is there a way to separate a vector object's geometry from
it's appearance(easily)? handling appearance by a class called
OJDrawingStyle, which is a tree of graphical attributes and drawing
behaviors that can be attached to the vector objects. objects can
share styles, so changing the style alters the appearance of all the
objects sharing that style, for example. alternatively, a 1:1
relationship between objects and styles could also be adhered to(more
conventional for a vector application). however, it would be nice to
take styles beyond fill of path and stroke, supporting any number of
components. making sure styles define what is drawn, and in what order.
it would be wonderful to select a 4 lane highway from the menu, or a
dirt road, or a 2-lane with dirt frontage road on the left side(add
long list of visually fun possibilities here), and apply that to an
existing path/linestring. or some yellow bricks(yellow brick road),
or whatever. so please consider this when considering decorations
for roads, because at the present time, most all gis apps have really
boring single-line, single-color decorations to apply to lines.
eric
On Apr 3, 2008, at 9:51 AM, Paul Austin wrote: supporting multiple
strokes with different line, dash attributes, along with width and
colors.
All,
I'm wondering if there is a better way for users to select the
decoration styles. What I was thinking is we can divide them into
the following categories.
Start
End
Segment
Vertex (also applies to Point)
Then each style implementation would implement say LineStartStyle
interface to indicate the kind of style it is.
The UI would then have 4 sections where you select the style for
each one. The decision there would be if that was a multiple
selection or a single selection.
What do people think of this idea?
Paul
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel