This app shows the proposed changes to class Svg:
-
The Mode button changes how the MemoryCache keys are composed:
integral: the new default: it uses the integer destination dimensions, which avoids floating-point rounding errors but makes the image cache behave differently from previous versions of classSvg; in practice, this should not break existing uses of classSvgfixed: this uses only the integer SVG dimensions, resulting in a single cache entry
-
The Size button changes the
MemoryCachesize:standard: the current default == max10entriesmedium: max50entrieslarge: max100entrieshuge: max250entriesunlimited: max entries correspond to the largest representable integer, making theMemoryCacheproperty behave like aMap.
-
The Svg button cycles through a few SVGs.
The amount of SvgComponent objects may be adjusted via a slider:
These are a few results with several 'Mode' and 'Size' combinations:





