Open kimikage opened 4 years ago
I will put the support for xspacing
/yspacing
/spacing
as a v0.2.x material, not v0.2.0.
The roundradius
has been supported by PR #47.
We might also need the frameheight
option. Currently the height is calculated based on the fontsize
, but this is not suitable for displaying deep graphs. (cf. https://github.com/kimikage/ProfileSVG.jl/issues/44#issuecomment-685426484)
Anyway, I plan to support y-axis zooming in v0.3.
Currently the rounding radii of frame (
<rect>
) corners are re-calculated based on the zooming factor. Sinceroundradius = 0
means square corners, the corner-rounding process can be omitted.On the other hand, setting frame spacing may require re-calculation of the
width
andheight
attributes of each frame. However, ifwidth
s andheight
s are overwritten, there is a problem with accumulative errors. Therefore, it may be another option to manipulate thetransform
attribute of each frame.I think these new options require drastic design changes. I will decide the design according to the benchmark results.