How do I render *parts* of a svg file?

前端 未结 5 1176
借酒劲吻你
借酒劲吻你 2021-01-01 00:30

I want to render parts of a svg file by name but for the life of me I cannot figure out how to do so (using python + gtk).

Here\'s the svg file in question: http://d

5条回答
  •  无人及你
    2021-01-01 01:25

    You can do it by editing the tag. Edit width and height, set the viewBox attribute on the main svg element to the rectangle you want, render, repeat.

    See How to show a subsection or "slice" of an SVG graphic? and http://dingoskidneys.com/~dholth/svg/

提交回复
热议问题