Opened 19 months ago
Last modified 19 months ago
#18416 new enhancement
Possibility of applying Contour and Stroke transformers to a 1 point shape
Reported by: | Handmaus | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Icon-O-Matic | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
- Adding the possibility of applying Contour and Stroke transformers to a 1 point shape.
(this possibly needs to be implemented in HVIF 2.0)
Extremely useful for doing low cost real dots: LEDs, buttons, grills, etc.
The closest thing that can be done actually is with a 2 point Path, with the two points as close as possible, and a Stroke Transformer, but the result is never really a dot, is more like an ellipse.
As an extra use, aplying a high enough thickness value, it can even be used for doing simple circles with just a 1 point Path instead of a 4 point Path. (EDIT: Nope, tried with a 2 point Path and it works, but the results are only valid at small sizes, at big sizes it looks blocky. Whatever function is used to draw this things renders a multifaceted poligon instead of a smooth curve. I guess it was made this way to make it more computationally efficient?)
Change History (3)
comment:1 by , 19 months ago
follow-up: 3 comment:2 by , 19 months ago
Hopefully no existing icons have shapes using paths that have only one point.
Its a very deliberate thing to do, I really doubt we'll be suddenly seeing an epidemic of icons with freckles from leftover shapes WITH a 1 point path AND a stroke applied.
comment:3 by , 19 months ago
Hopefully no existing icons have shapes using paths that have only one point.
Its a very deliberate thing to do, I really doubt we'll be suddenly seeing an epidemic of icons with freckles from leftover shapes WITH a 1 point path AND a stroke applied.
Nice description, LOL. I doubt so too.
It should be possible to modify the rendering library to render one point lines. Hopefully no existing icons have shapes using paths that have only one point.
The rendering engine should be modified to use a higher-poly polygon if the stroke width is large.