It is with great pleasure that we announce the new version of the Skia4Delphi library. The library has been completely rewritten in this major update and it looks amazing.
v3.0.0
· Skia library version has been updated from Milestone 88 to 98;
· New Skia based Canvas for FMX with GPU rendering support (optionally registered as default) accompanied by the following benefits
a) Draw with anti-aliasing on any platform; (currently platforms that use TGPUCanvas like mobiles, and Mac computers when Metal is enabled do not use it)
b) Increase the overall graphics performance of your application by up to 50%; (even drawing with higher quality)
c) Resize images with better quality; (also based on Form.Quality)
d) Support Right-To-Left rendering;
e) Fix dozens of inconsistencies in drawings, especially in corners and strokes, such as dashes, and in texts with special emojis;
f) Increase the performance of the library in general (controls, drawings, among others...).
· Fully featured demo, with many more fantastic examples;
· Added TSkLabel control with support for: multiple text styles (colors, sizes, fonts), justify alignment, font weight, families fallback, auto-size of width and height, limit number of lines, right-to-left texts, and more;
· Added TSkAnimatedImage (replacing TSkLottieAnimation), with support for Lottie, Telegram Sticker, Animated GIF and Animated WebP files.
· Added WrapMode property to TSkSvg;
· Added full unicode support: grapheme iterators, BiDi regions, among others;
· Added new features to SkParagraph;
· Added SkTypefaceProvider; (custom fonts support in SkParagraph)
· New codecs registered:
a) VCL: svg, wbmp, webp and raw images (arw, cr2, dng, nef, nrw, orf, raf, rw2, pef and srw)
b) FMX: bmp, gif, ico, wbmp, webp e raw images (arw, cr2, dng, nef, nrw, orf, raf, rw2, pef and srw)
· Added support for SVG creation with the SkSVGCanvas class;
· Exposed SkParticles (provides a way to quickly generate large numbers of drawing primitives with dynamic, animated behavior)
· Added support for creating XPS documents (Windows-only);
· Added Cross-Platform unit tests for console, VCL and FMX, with more over then 250 tests;
· Added Android support for Delphi 10.3 Rio;
· Added installation support via Chocolatey;
· Improved the performance of Lottie animations;
· Improved the performance of OverrideColor in TSkSvg;
· Improved installation process;
· Simplified Skia build with a simple native script;
· Fixed library loading crash that occurred on some 32-bit Androids;
· Fixed support for Android 32 bits in Android App Bundle (.aab) format;
· Fixed iterators; (including path elements iterator)
· Fixed image decoding issue;
· Fixed Lottie files with static images embedded;
· Fixed SVG locale-dependent (couldn't render when default decimal separator was not dot);
· Fixed wrong draw of TSkCustomControl and descendents in FMX, when the property Angle was different than 0;
· Fixed TSkPaintBox draw without clear the surface;
· Fixed installation issue in RAD Studio Trial, Community Edition and Started versions;
· Fixed installation issue in RAD Studio with very large Library Path (especially those that have the ACBr library installed);
· Fixed many others minor issues;
· And much more..
Compatibility break:
We are in continuous development, so some updates will bring compatibility breaks. So pay attention to version numbers, we use semantic versions (for major versions there is some compatibility break). See some breaking changes in this version:
a) Removed support to iOS, MacOS and Linux in RAD Studio 10.4 Sydney;
b) Removed support to RAD Studio XE6;
c) Removed the TSkLottieAnimation control, use the TSkAnimatedImage control instead;
d) Several changes in API;
Supported platforms:
· RAD Studio 11.0 Alexandria: all platforms
· RAD Studio 10.3 Rio or newer: windows and android
· RAD Studio XE7 or newer: windows
Demo:
Github: github.com/skia4delphi/skia4delphi
Website: skia4delphi.org