Skip to content

About

Testbed for the proposed flame_svg package changes

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Testbed for the proposed changes to class Svg

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 class Svg; in practice, this should not break existing uses of class Svg
    • fixed: this uses only the integer SVG dimensions, resulting in a single cache entry
  • The Size button changes the MemoryCache size:

    • standard: the current default == max 10 entries
    • medium: max 50 entries
    • large: max 100 entries
    • huge: max 250 entries
    • unlimited: max entries correspond to the largest representable integer, making the MemoryCache property behave like a Map.
  • The Svg button cycles through a few SVGs.

The amount of SvgComponent objects may be adjusted via a slider:

Slider

These are a few results with several 'Mode' and 'Size' combinations:

integral/standard:
Integral/Standard

integral/medium:
Integral/Medium

integral/large:
Integral/Large

integral/huge:
Integral/huge

fixed/standard:
Fixed/Standard

About

Testbed for the proposed flame_svg package changes

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages