Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Graphic primitives tree in Painter
Re: Graphic primitives tree in Painter [message #33782 is a reply to message #33778] |
Tue, 13 September 2011 07:48   |
 |
koldo
Messages: 3437 Registered: August 2008
|
Senior Veteran |
|
|
mirek wrote on Mon, 12 September 2011 14:28 |
koldo wrote on Mon, 12 September 2011 02:58 | Hello Mirek
About SVGPainter and SVGRender, now in SVG you can do some kind of graphic primitives containing more basic ones.
I mean you can define a kind of flowchart, that contains arrows, that are made of lines. You define the arrow once and put it in different places with different scales and rotations in your drawing.
Is it possible to do something like this in actual Painter?
|
You would need to make some storage of such composite elements.
IMO, you are starting at wrong end. I would take care about low-level SVG first (means shapes, fills, strokes). That would make it render most icons and similar stuff.
Mirek
|
Hello Mirek
You are right as it is not strictly necessary to add to Painter this composite elements.
However there would be some reasons:
- A SVG file loaded to actual Painter would be saved to a less rich SVG (composite elements would be lost).
- A richer Painter would let to implement very easily vector graphic editors:
--- SVG editor
--- Map editor
--- Flowchart editor
--- ... 
Best regards
IƱaki
[Updated on: Tue, 13 September 2011 07:50] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Jun 08 08:11:21 CEST 2025
Total time taken to generate the page: 0.05083 seconds
|