In my last test branch I included a general Line Mode icon in all sizes. I
used the name 'mypaint-line-mode'. The svgz is in the svg folder and png
copies are in the 'action' folders.

I can see your point about the anti-aliasing. If you want the thinnest line
at all sizes, 1px is it :)
However if you are scaling an icon and you want outline elements to be of
the same weight at all sizes, then you can follow the 1/16 = 0.0625 ratio.

The LineMode icon I made uses this ratio for each of the line elements and
seems to work :)


On Tue, Jan 17, 2012 at 12:32 PM, Andrew Chadwick <[email protected]>wrote:

> On 17/01/12 16:56, Richard Jones wrote:
> > One thing that confused me was the svg folder location as compared to
> > the png icons. Perhaps they should all stem from the same parent folder?
>
> Just an installer convention; desktop/icons/hicolor gets merged into
> /usr[/local]/share/icons/hicolor during install on a POSIX-like system,
> and for standalone runs it's where the
>
> Tool icons are conventionally named with mypaint-tool- as a prefix, and
> go into desktop/icons/hicolor/$size/actions/mypaint-tool-$name.$ext .
> gui/stock.py initialises extra stock icons to that icons can be loaded
> by name or constant.
>
> > The Tango docs are useful. One thing I found is that their docs state
> > that the 16px icon should use 1px border lines. What I found is that
> > this translates to 3px  at size 48.
>
> As I read it they should be 1px at all scales. When I'm scaling an icon
> down (or up), I turn off "when scaling objects, scale stroke width" next
> to "Affect:" on the Inkscape toolbar, then I realign nodes or edges to
> the nearest pixel so it'll alias nicely.
>
> --
> Andrew Chadwick
>
> _______________________________________________
> Mypaint-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/mypaint-discuss
>
_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to