I want to learn graphics programming, and I want to use Skia as the library. How do I begin with it on Ubuntu?
相关问题
- What is the optimal render loop in Dart 2?
- Flutter mask a circle into a container
- How to draw rich text with Skia or SkiaSharp
- Want to learn graphics using Skia on Ubuntu [close
- Canvas.drawText() doesn't render large emojis
相关文章
- Flutter mask a circle into a container
- How to draw rich text with Skia or SkiaSharp
- Want to learn graphics using Skia on Ubuntu [close
- Canvas.drawText() doesn't render large emojis
- How to draw text on an EGL texture using Skia SkBi
- how to build skia for ios
- Android SKIA Image Decoding
- BitmapFactory.decodeByteArray() always returns nul
Use the r1236 version. Newer versions of skia have issues on Linux.
Skia has font paths hard coded, so you want to change that.
Edit
src/ports/SkFontHost_linux.cpp
Search "SK_FONT_FILE_PREFIX"
Change "/usr/share/fonts/truetype/msttcorefonts/" to "/usr/share/fonts/TTF/"
You should now have libskia.a.
Here is an SFML2 and Skia example:
From the wiki on the Google Code pages: Getting Started on Linux