Jump to content
vfbb

ANN: Skia4Delphi v4.0.0

Recommended Posts

github-social-preview.thumb.png.06fa9b6d00c8816b8daf0bf167ba7080.png

 

 

v4.0.0

 

 

  • Skia library version has been updated from Milestone 98 to 107; [API]
  • Added support for iOS Simulator ARM 64-bit to RAD Studio 11.2 Alexandria or newer. [API]
  • Added TBitmap.CreateFromSkImage; [Framework]
  • Added LinesCount and DidExceedMaxLines properties to TSkLabel; [Framework]
  • Added new splashscreen to our main demo; [Samples]
  • Added ISkParagraph.Visit method; (#136) [API]
  • Rewritted TSkAnimatedImage and TSkAnimatedPaintBox, adding features to have full control over the animation; (#104) [Framework]
    Some of them are: Start and Stop methods, and AutoReverse, CurrentTime, Delay, Duration, Enabled, Inverse, Loop, Pause, Progress, Running, Speed, StartFromCurrent, StartProgress and StopProgress properties. All these properties and methods are in the Animation property of the TSkAnimatedImage and TSkAnimatedPaintBox.
  • Improved automatic tests; [Tests]
  • Fixed issue in edit controls with emoji or Chinese char; (#159) [Render]
  • Fixed custom fonts on Android deployed to assets\internals that was not automatically loaded; (#153) [Render]
  • Fixed webinar demo splashscreen; [Samples]
  • Fixed exception loading images from stream or bytes; (#111) [Framework]
  • Fixed TSkAnimatedImage exceeding bounds in some WrapMode [Framework]
  • Fixed TBitmap.SkiaDraw issues in VCL; [Framework]
  • Fixed TBitmap.ToSkImage AV in VCL; [Framework]
  • Fixed flicker problem in TSkAnimatedImage in VCL; [Framework]
  • Fixed text print; (RSP-16301) [Render]
  • Fixed TSkAnimatedImage with 90° rotation that fails to play; [Framework]
  • Fixed high DPI issues of TSkLabel in VCL; [Framework]
  • Fixed high DPI issues in VCL demo; [Samples]
  • Fixed SkRegion.IsEqual; [API]
  • Fixed link with runtime packages; (#163) [Setup]
  • Fixed big GIF issue; (#118) [API]
  • Fixed wrong pixel format on Android in Delphi 10.3 Rio; [Render]
  • Minor improvements and fixes.

    Skia version: 107.0.0

 

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:

  • No longer use TSkAnimatedImage.Enabled to start or stop an animation. Now use TSkAnimatedImage.Animation.Enabled.
  • The class TSkTypefaceManager is deprecated in favor to TSkDefaultProviders;
  • Several changes in API (Skia.pas);

 

Supported platforms

  • RAD Studio 11 Alexandria: All platforms
  • RAD Studio 10.3 Rio or newer: Windows and Android
  • RAD Studio XE7 or newer: Windows

 

Github: github.com/skia4delphi/skia4delphi

Website: skia4delphi.org

 

  • Like 12
  • Thanks 3

Share this post


Link to post

 

v4.0.1

 

  • Added option to "Enable Skia" in dll projects; [Plugin]
  • Fixed AV with GPU canvas; [Render]
  • Fixed exceptions with OpenGLES backend on Android; [Render]
  • Fixed issue with creating bitmap cache (texture); [Render]
  • Fixed 3D controls (TViewPort3D) rendering with OpenGLES backend; [Render]
  • Fixed wrong draw of text with attributes in TTextLayout; [Render]
  • Minor improvements.

    Skia version: 107.0.0

 

  • Like 2

Share this post


Link to post

v4.1.0

  • Added new parameters to SkCanvas.SaveLayer; API
  • Added functions ComputeFastBounds and CanComputeFastBounds to SkImageFilter; API
  • Added the properties ApproximateOpCount and ApproximateBytesUsed to SkPicture; API
  • Added ShaderButton demo in VCL & FMX (presented at the Embarcadero Brazil Conference 2022); Samples
  • Added virtual methods to TSkLabel; #182 Controls
  • Added support for beta versions of RAD Studio; Setup
  • Improved codecs load; Render
  • Fixed support for iOS Simulator ARM64; #186 Library
  • Fixed invalid float point operation in texts; Render
  • Fixed trimming issue in TTextLayout; #192 Render
  • Fixed Skia's codecs color type on mobile with Skia's render disabled; #197 Render
  • Fixed ISkPath.IsRect results; API
  • Fixed read of Metal view; Render
  • Fixed cursor in TSkLabel of VCL; Controls
  • Fixed text attributes; Render
  • Fixed controls inside TSkCustomAnimatedControl in VCL; Controls
  • Fixed TextLayout before 10.2 Tokyo; Render
  • Fixed iOS certificate issues in main demo; Samples
  • Fixed NavigationBar color on Android12+ in main demo; Samples
  • Fixed and improved unit tests; Tests
  • Minor improvements.

Skia version: 107.1.0

 

New ShaderButton demo (VCL & FMX)

 

 

  • Like 5

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×