News for hackers. Stuff that matters.
Re:Skia: an open source 2D graphics library by alkonaut on Sunday January 14, 2018 @06:15PM (#16147121)
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.
Re:Skia: an open source 2D graphics library by voltagex_ on Sunday January 14, 2018 @06:51PM (#16147323)
Cool. Are you able to share any more details? I'm guessing this isn't a standard WinForms app. What advantages does moving away from GDI+ give you?
Re:Skia: an open source 2D graphics library by alkonaut on Monday January 15, 2018 @02:24AM (#16149116)
It’s a winforms app, and there isn’t much nonstandard about it other than that large performance sensitive drawing apps are perhaps quite nonstandard to begin with. We want to handle some large cad scenarios in it (e.g smooth pan/zoom in drawings with 500k lines), it’s not the default use case, but it happens. The main advandtage over gdi+ ) is better support for retained mode drawing (record/playback style drawing), more efficient automatic culling, etc.
Re:Skia: an open source 2D graphics library by needusername2 on Sunday January 14, 2018 @08:20PM (#16147735)
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 by alkonaut on Monday January 15, 2018 @02:17AM (#16149090)
See my answer on the other msg
Re:Skia: an open source 2D graphics library by seanmcdirmid on Monday January 15, 2018 @01:05AM (#16148821)
Cool, how does it compare to Win2D?
Re:Skia: an open source 2D graphics library by alkonaut on Monday January 15, 2018 @02:16AM (#16149088)
It’s just a lot less ”different”. Performance is pretty similar across all frameworks, and is much more dependent on call patterns than anything else.