flip svg coordinate system

后端 未结 8 639
走了就别回头了
走了就别回头了 2020-12-07 23:55

Is there a way to flip the SVG coordinate system so that [0,0] is in the lower left instead of the upper left?

8条回答
  •  醉话见心
    2020-12-08 00:32

    Yes, a coordinate rotation of -90 followed by a translation of + the height of your new figure should do it. There is an example at W3C.

提交回复
热议问题