4/9/2023 0 Comments Svgviewer 3.0![]() Updated Library suffix for Delphi 10.4 and 11 to (auto).Alignment to latest Skia4Delphi version.SVGExplorer example moved under "Demo" folder.Added support for other Delphi versions (VCL): D10 Seattle.Fixed #241 Alignment from Source and Destination Items (FMX).Removed W11 Styles from Demo (available in Delphi only by Get-it).FMX Component editor: changed selection for fixed color.DOCUMENTATIONįollow the guide in Wiki section to known how to use those components to modernize your Delphi VCL or FMX Windows applications scalable, colored and beautiful with few lines of code. You can use SVG Shell Extensions if you want to see your icons directly into Windows Explorer or you want to edit them using a powerful SVG Text Editor. The SVG Icon Explorer utility is useful to explore and preview your svg image collections. The SVG Viewer Demo is useful to check the rendering quality of the engines available. Sample images of the VCL SVGText-property editor (VCL and FMX) Available from Delphi XE3 to Delphi 11 (32bit and 64bit platforms) (1)Notice that Image32 and SKIA4Delphi are the only engines capable of rendering blur effect (that is always slow to calculate): this is the reason of "slow" performance to render Papirus icons that contains blur effect. ![]() CountĪs you can see, the four engines perform differently depending on the icons and their complexity. This table shows the performance of the four rendering engines tested with SVGExplorer, using a significant amount of icons from different sets, rendered at 128x128 pixels. Using SKIA4Delphi library, a cross-platform 2D graphics API based on Google's Skia Graphics LibraryĪ wrapper to the native Windows Direct2D implementation Native Delphi TSVG: the first native Delphi code, based on Martin's work which is using GDI+ Native Delphi Image32 (default): the new implementatio, using Image32 library by Angus Johnson Without setting this property to "True", everytime you add or remove an icon in the collection, you have to check and change the ImageIndex of all the Actions.įrom D10.3 version, the TSVGIconImageCollection inherits from TCustomImageCollection, so you can also use it with the TVirtualImage component and place SVG icons into the new TControlList component (available from Delphi 10.4.2), as explained here. Don't forget also the importance of PreserveItems when you have a large ImageCollection with many linked Actions. For recent versions of Delphi the recommended combination should be TSVGIconImageCollection + TVirtualImageList. We advise that TSVGIconVirtualImageList should be used only for versions of Delphi before 10.3. DPI change), which is slower and consumes more memory.Īlthough TVirtualImageList does not have the FixedColor, GrayScale and Opacity properties, these properties exist at the TSVGIconImageCollection and they would be reflected on the linked TVirtualImageList. An important difference is that TVirtualImageList may use and create only a subset of the images in the collection, whereas TSVGIconVirtualImageList creates all images of the collection everytime it is needed (e,g. TVirtualImageList (available from D10.3) and TSVGIconVirtualImageList both use images from TSVGIconImageCollection. TSVGIconImageList is an extended ImageList for Delphi (VCL+FMX) with an embedded SVG image collection: the VCL component is deprecated, we recommend to use SVGIconImageCollection + SVGIconVirtualImageList also for older Delphi versions! TSVGIconImage is an extended Image component for Delphi (VCL+FMX) to show any SVG image directly or included into a an SVGIconImageList with all functionality (stretch, opacity, grayscale and more.) TSVGIconVirtualImageList is a special "virtual" ImageList for Delphi linked to an SVGIconImageCollection (only for VCL) to simplify use of SVG Icons (resize, opacity, grayscale and more.) TSVGIconImageCollection is collection of SVG Images for Delphi to provide a centralized list of images for SVGIconVirtualImageLists (only for VCL) SVGIconImageList Four engines to render SVG (Delphi Image32, Delphi TSVG, SKIA4Delphi, Direct2D wrapper) and four components to simplify use of SVG images (resize, fixedcolor, grayscale.) Actual official version 3.9.6 (VCL+FMX) Component ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |