News for hackers. Stuff that matters.
Re:Blend2D – 2D Vector Graphics Engine by orbifold on Friday April 05, 2019 @10:18AM (#19582728)
Skia is not so terrible, you just have to use their slightly obscure build tool. And it produces >8GB build artefacts with ~50 or more dependencies... Come to think of it is a bit of a nightmare.
Re:Blend2D – 2D Vector Graphics Engine by pjmlp on Friday April 05, 2019 @12:26PM (#19584117)
I tried to use it a few times, but having to configure a Google build environment, without Google class workstations, meant I always gave up in the process and used Skia.Sharp instead.
Re:Blend2D – 2D Vector Graphics Engine by Matheus28 on Friday April 05, 2019 @03:32PM (#19586165)
I explained how to build it here, give it a try: https://news.ycombinator.com/item?id=19586159
Re:Blend2D – 2D Vector Graphics Engine by pjmlp on Friday April 05, 2019 @03:40PM (#19586245)
Thanks for the heads up, but doing it across Windows/UWP, Android and iOS requires a bit more of effort than what you described, hence Skia.Sharp instead.
Re:Blend2D – 2D Vector Graphics Engine by Matheus28 on Friday April 05, 2019 @07:18PM (#19587955)
I'm doing exactly that though. To compile for iOS for example, create a separate output directory with `target_os="ios" target_cpu="arm64"`. You can see a few more examples here https://skia.org/user/build

Unfortunately, C++ libraries are a bit harder to use than other languages, hopefully the modules proposal will make this a lot easier.

Re:Blend2D – 2D Vector Graphics Engine by c-smile on Friday April 05, 2019 @02:16PM (#19585460)
Just in case: Skia can be built without Google build environment. For the Sciter (https://sciter.com) I just included all needed files into projects ( MSVC and XCode ). That setup takes some initial time but after that it works as any other library like libpng, etc.