Back to Devexpress

TdxSVGRenderQuality Subrange Type

vcl-dxsvgimage-34189d42.md

latest3.6 KB
Original Source

TdxSVGRenderQuality Subrange Type

Enumerates SVG render quality levels.

Declaration

delphi
TdxSVGRenderQualityValues = (srqDefault, srqLow, srqMedium, srqHigh);
TdxSVGRenderQuality = srqLow..srqHigh;

Members

NameDescription
srqHigh“High Quality” mode corresponds to the only render quality level available in v18.2 and earlier. This mode offers maximum quality at the cost of slower render operations and higher memory consumption due to the largest render buffer size. Inherited from TdxSVGRenderQualityValues.
srqLow“Low Quality” mode offers maximum performance at the cost of minor aliasing artifacts noticeable on some SVG images if the final (upscaled) image size is 256 by 256 pixels or higher (that is, exceeds a typical glyph‘s pixel dimensions ( 32 by 32 ) at the highest target monitor DPI ( 160 by 160 )). Inherited from TdxSVGRenderQualityValues.
srqMediumMedium Quality mode sets the optimum quality-to-performance ratio for most of the SVG images designed as scalable UI item glyphs (which includes all SVG images from the DevExpress Icon Library). Inherited from TdxSVGRenderQualityValues.

Remarks

The TdxSVGRenderQuality type is a subset of the TdxSVGRenderQualityValues enumeration type. Options include:

ValueDescriptionExample
srqLowLow Quality mode offers maximum performance at the cost of minor aliasing artifacts noticeable on some SVG images if the final (upscaled) image size is 256 by 256 pixels or higher (that is, exceeds a typical glyph‘s pixel dimensions (32 by 32) at the highest target monitor DPI (160 by 160)).
srqMediumMedium Quality mode sets the optimum quality-to-performance ratio for most of the SVG images designed as scalable UI item glyphs (which includes all SVG images from the DevExpress Icon Library).
srqHighHigh Quality mode corresponds to the only render quality level available in v18.2 and earlier. This mode offers maximum quality at the cost of slower render operations and higher memory consumption due to the largest render buffer size.

Direct TdxSVGRenderQuality Type Reference

The dxSVGRenderQuality global variable references the TdxSVGRenderQuality type.

Base Type

TdxSVGRenderQualityValues See Also

TdxSVGImage

TdxSVGImageCodec

dxSVGImage Unit