4 ms·
I think it is largely a design issue. HaikuOS has vector icons everywhere that are as crisp as their pixel-based counterparts (in fact many of them are recreat
by badsectoracula 6y ago
I think it is largely a design issue. HaikuOS has vector icons everywhere that are as crisp as their pixel-based counterparts (in fact many of them are recreations).
HaikuOS' icon format was designed specifically for vector icons and has support for "LODs" to hide/show elements based on the zoom level but i think (though not 100% sure) that other vector formats can do that too.
- ygra 6y agoVisual Studio's UI is written in WPF and there's native support for pixel-pitting vector graphics, exactly for the purpose of icons and other things that, while vector, must be aligned to device pixels. I think I remember seeing that at least the old icons definitely made use of that (you can download the whole icon packs for VS2012–2019 somewhere on the Microsoft site). And I think you should also be able to do LOD; it's possible with SVG with media queries; you should be able to do this with XAML at the very least via injecting size information via a data context.