Opened 11 months ago

Last modified 11 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)

in reply to:  description comment:1 by Zardshard, 11 months ago

(this possibly needs to be implemented in HVIF 2.0)

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.

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?)

The rendering engine should be modified to use a higher-poly polygon if the stroke width is large.

comment:2 by Handmaus, 11 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.

in reply to:  2 comment:3 by Zardshard, 11 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.

Note: See TracTickets for help on using tickets.