Skia4delphi Versions Save

Skia4Delphi is a cross-platform 2D graphics API for Delphi platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.

v4.0.2

1 year ago

v4.0.2

  • Implemented TCanvas.LoadFontFromStream; [Render]
  • Fixed build and library binary for Linux64; (#172) [API]
  • Fixed gitignore from external library and added missing files; [API]
  • Fixed AV closing applications with TSkAnimatedImage in specific cases; [Framework]
  • Fixed "Webinar Demo" compilation; [Samples]

Skia version: 107.0.0

Installation

Just download and run the Skia4Delphi_4.0.2_Setup.exe attached.

v4.0.1

1 year ago

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

Installation

Just download and run the Skia4Delphi_4.0.1_Setup.exe attached.

v4.0.0

1 year ago

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

The library is 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);

Installation

Just download and run the Skia4Delphi_4.0.0_Setup.exe attached.

v3.4.1

1 year ago

v3.4.1

  • Added webinar demos; [Samples]
  • Added automatically GlobalUseSkia := True; to .dpr (after enable Skia in a FMX project);
  • Improved quality draw of signature/freehand demos; [Samples]
  • Fixed exception loading picture from stream in VCL; (#111) [Controls]
  • Fixed TBitmap.SkiaDraw in FMX to avoid the issue RSP-38418;
  • Fixed square at the end of texts with amper (&); (#115) [Canvas]
  • Fixed brush draw using empty bitmap; (#110) [Canvas]
  • Fixed wrong line breaking; (#112) [Canvas]
  • Fixed SVG with unicode chars; (#142) [Controls]
  • Fixed ISkRuntimeEffect.SetUniform; (#122) [API]
  • Fixed wrong image codecs implementation; [API]
  • Fixed wrong exception messages in ISkRuntimeEffect; (#138) [API]
  • Fixed warning in Linux; [Canvas]

Skia version: 98.1.0

Webinar Demos:

https://user-images.githubusercontent.com/11139086/185703306-16d8f897-9b3c-444a-8d94-b7003142e582.mp4

https://user-images.githubusercontent.com/11139086/185703323-0b540289-3ee9-4f61-aa90-900affa6230c.mp4

Webinar replay: https://www.youtube.com/watch?v=rtnipmzWXhE

Installation:

Just download and run the Skia4Delphi_3.4.1_Setup.exe attached.

v3.4.0

2 years ago

v3.4.0

  • Added StrokeColor property to TSkLabel;
  • Added LetterSpacing property to TSkLabel;
  • Added automatically Skia to uses when use controls in form;
  • Added EncodedImageFormat property and MakeFromStream to SkCodec;
  • Added MakeRawShader to SkImage;
  • Added MakeImage to SkRuntimeEffects;
  • Exposed DirectContext in TGrCanvasCustom class to run code on the GPU more easily;
  • Fixed BackgroundColor property of TSkLabel;
  • Fixed issue loading bitmaps from stream when using Skia in Vcl project;
  • Fixed build script with python3 as default;
  • Minor improvements and fixes.

Skia version: 98.1.0

New StrokeColor property of TSkLabel

TSkLabel

Installation:

Just download and run the Skia4Delphi_3.4.0_Setup.exe attached.

v3.3.2

2 years ago

v3.3.2

  • Changed Skia4Delphi's default Canvas on Windows to raster based to avoid some issue in specific scenarios; (1)
  • Fixed support to Android 5.0, 5.1 and 6.0 when using Skia4Delphi Canvas;
  • Fixed form draw in Metal when "Zoomed setting" is enabled in iOS/macOS settings when using Skia4Delphi Canvas; (RSP-37935)
  1. On Windows, Skia4Delphi has 2 types of Canvas to render the forms: GPU based and raster based (CPU). Before this release, the default was GPU based, however, support for GPU operations is not well implemented by the OS in some scenarios, especially in some VMs. It is not possible to detect these scenarios at runtime, so we changed our default Canvas to raster based (CPU) on Windows. However, you can still force the use of our GPU-based Canvas by adding to the dpr: GlobalUseSkiaRasterWhenAvailable := False;. Both have excellent and higher performance than the FMX but there are specific operations where the GPU-based Canvas is much faster, such as running shaders, mainly created by SkRuntimeEffects.

Skia version: 98.0.0

Installation:

Just download and run the Skia4Delphi_3.3.2_Setup.exe attached.

v3.3.1

2 years ago

v3.3.1

  • Fixed TSkLabel click in Vcl;
  • Fixed bitmaps starting with garbage when using Skia4Delphi Canvas;
  • Fixed AV in TSkLabel and TSkTextLayout in specific cases involving $13 char;
  • Fixed AV drawing uninitialized bitmaps when using Skia4Delphi Canvas;

Skia version: 98.0.0

Installation:

Just download and run the Skia4Delphi_3.3.1_Setup.exe attached.

v3.3.0

2 years ago

v3.3.0

  • Added HeightMultiplier property to TSkLabel to change the default line height;
  • Added tag properties to TCustomWordsItem of TSkLabel;
  • Added TItemClickedMessage to intercept the OnClick of all TCustomWordsItem of TSkLabel controls;
  • Improvements in the OnClick triggering of TSkLabel items;
  • Fixed many issues in Windows when using Skia4Delphi Canvas (including combobox dropdown);
  • Fixed wrong colors in iOS with services when using Skia4Delphi Canvas: IFMXTakenImageService, IFMXCameraService, IFMXPhotoLibrary and IFMXShareSheetActionsService;
  • Fixed effects and filters issue in Metal when using Skia4Delphi Canvas;
  • Fixed wrong text size when using Skia4Delphi Canvas (fixing problems with TMemo and TTMSFMXHTMLText);
  • Fixed AV in TSkLabel when the text of a TWordsItem starts with a sLineBreak;
  • Fixed case-insensitive of image formats when saving images;
  • Fixed wrong draws with stroke thickness zero when using Skia4Delphi Canvas;
  • Fixed black screen startup on iOS in simple forms with only shapes when using Skia4Delphi Canvas;
  • Fixed specific cases of performance issues in Windows when using Skia4Delphi Canvas;
  • Fixed projects of RAD Studio 11;
  • Fixed popup menu exception in rasterization mode when using Skia4Delphi Canvas;
  • Fixed modulate color problem before RAD Studio 11.1 (which involves TintColor and TintIconColor properties on mobile);
  • Minor improvements and fixes.

Skia version: 98.0.0

Installation:

Just download and run the Skia4Delphi_3.3.0_Setup.exe attached.

v3.2.0

2 years ago

v3.2.0

  • Added MaxLines property to TSkTextLayout to possibility use it instead of WordWrap property;
  • Added support for GlobalEventDrivenDisplayUpdates to Metal when using Skia4Delphi Canvas;
  • Fixed AV and wrong draws in metal when using Skia4Delphi Canvas;
  • Fixed TBitmap AV in background thread when using Skia4Delphi Canvas;
  • Fixed BackgroundColor property of TSkLabel;
  • Minor improvements and fixes.

Skia version: 98.0.0

Installation:

Just download and run the Skia4Delphi_3.2.0_Setup.exe attached.

v3.1.0

2 years ago

v3.1.0

  • Added BackgroundColor property to words of TSkLabel;
  • Added GrayScale property to TSkSvgBrush;
  • Added build informations for each pre-built binary;
  • Added pre-built binaries for Red Hat;
  • Fixed AV in iOS and MacOS with Metal + Effects/Filters with Skia Canvas enabled;
  • Fixed TSkAnimatedImage and TSkAnimatedPaintBox controls when setting visible to false in Vcl;
  • Fixed TSkSvgBrush.Render in Vcl, was ignoring the opacity parameter;
  • Fixed AV when set the property ControlType=Platform in controls that the platform doesn't support this (like TButton and TLabel) in Android and iOS with Skia Canvas enabled;
  • Fixed build error 'MSB5016: The name "asl.log" contains an invalid character "."' in setup;
  • Fixed build error at installation in RAD Studio 10.3 Rio (caused by wrong rsvars.bat);
  • Fixed build script for other Linux distributions;
  • Fixed statusbar icons of demo in some devices with Android 11;
  • Improved performance of TSkGraphic and TSkSvgGraphic in Vcl (they are responsible for loading new extensions in TPicture);
  • Minor improvements and fixes;

Skia version: 98.0.0

BackgroundColor property of TSkLabel

https://user-images.githubusercontent.com/11139086/155173314-c404a917-3522-4cf4-a14e-371a1bc926c9.mp4

Installation:

Just download and run the Skia4Delphi_3.1.0_Setup.exe attached.