Live data from Hacker News

Skia: an open source 2D graphics library

skia.org

31–40 of 119 posts

Re: Skia: an open source 2D graphics library

#31
post #7

C++ 11, nice. Does anyone use this? And if you do how does it compare to alternatives

Skia is probably the most popular 2D graphics library at the moment. I don't really know why this got on HN now. It's already extremely popular. I use it in a little WIP game engine. It's very pleasant, excellent little library. There's an online jsfiddle-esque demo here https://fiddle.skia.org/ if you want to try it out.

The funny thing is that Skia is a startup in NC that was acquired more than a decade ago and turned into one of the smallest and most elusive Google engineering offices, basically just to keep Mike Reed (TrueType and TrueType GX) and his people.

Re: Skia: an open source 2D graphics library

#32

Earlier quoted context omitted.

Has anyone used this? Are there any examples?

I’m converting a large desktop (CAD) app from GDI+ to SkiaSharp at the moment. Really liking the Api and the quality of the C# wrapper. Also maps very well to GDI concepts so a conversion is fairly painless.

Why are you converting to SkiaSharp, if I may ask? Is it for performance or multiplatform reasons?

Re: Skia: an open source 2D graphics library

#33

With all the fuss with "modern" text editors built on top of web engines, I feel the need to remind you all that one of the fastest graphical code editors that I have ever used — SublimeText — was built using Skia for the rendering. I believe many people have noticed how smooth the interface and most of the operations feel, a very good selling point if you want to build a GUI in the future.

If I understod correctly (which isn’t certain) Skia is also the rendering backend for chromium. Chromium is used as the rendering bits for electron. Electron is how you make these apps on “web engines”. So all those editors based on web engines likely render through Skia...

Skia is also used by Firefox on some platforms (I think Linux/X11 and Android?) as its graphics backend.

Re: Skia: an open source 2D graphics library

#34

There is also a .NET binding for Windows and Xamarin: https://www.nuget.org/packages/SkiaSharp/

Has anyone used this? Are there any examples?

There are some examples in the source tree here: https://github.com/mono/SkiaSharp/tree/master/samples

Re: Skia: an open source 2D graphics library

#35
post #7

C++ 11, nice. Does anyone use this? And if you do how does it compare to alternatives

Skia is probably the most popular 2D graphics library at the moment. I don't really know why this got on HN now. It's already extremely popular. I use it in a little WIP game engine. It's very pleasant, excellent little library. There's an online jsfiddle-esque demo here https://fiddle.skia.org/ if you want to try it out.

How many Android devices are out there right now? They've all been using Skia since day one.

Re: Skia: an open source 2D graphics library

#37

With all the fuss with "modern" text editors built on top of web engines, I feel the need to remind you all that one of the fastest graphical code editors that I have ever used — SublimeText — was built using Skia for the rendering. I believe many people have noticed how smooth the interface and most of the operations feel, a very good selling point if you want to build a GUI in the future.

Even on Linux it's best. Tooltips suck a bit compared with those Electron editors.

Re: Skia: an open source 2D graphics library

#38

With all the fuss with "modern" text editors built on top of web engines, I feel the need to remind you all that one of the fastest graphical code editors that I have ever used — SublimeText — was built using Skia for the rendering. I believe many people have noticed how smooth the interface and most of the operations feel, a very good selling point if you want to build a GUI in the future.

If I understod correctly (which isn’t certain) Skia is also the rendering backend for chromium. Chromium is used as the rendering bits for electron. Electron is how you make these apps on “web engines”. So all those editors based on web engines likely render through Skia...

I believe Skia was originally used in Android as well.

Re: Skia: an open source 2D graphics library

#40

Earlier quoted context omitted.

If I understod correctly (which isn’t certain) Skia is also the rendering backend for chromium. Chromium is used as the rendering bits for electron. Electron is how you make these apps on “web engines”. So all those editors based on web engines likely render through Skia...

Skia is also used by Firefox on some platforms (I think Linux/X11 and Android?) as its graphics backend.

But not with Webrender that's coming in Firefox 59 I suppose?
Post reply on HN