vfbb 285 Posted March 30, 2022 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. Github: github.com/skia4delphi/skia4delphi Website: skia4delphi.org 12 Share this post Link to post
vfbb 285 Posted April 4, 2022 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; 2 Share this post Link to post
vfbb 285 Posted April 9, 2022 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) 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. Share this post Link to post