nanovg to with a 3*3 matrix
LightSun opened this issue · 2 comments
LightSun commented
Hello you are writing a good project . I am Interested in it. Can you help me?
There is a matrix , How can i use it with nanovg ?
| scaleX skewX transX |
| skewY scaleY transY |
| pers0 pers1 pers2 |
ps:
scaleX: horizontal scale factor
scaleY: vertical scale factor
skewX: horizontal skew factor
skewY: vertical skew factor
transX: horizontal translation
transY : vertical translation
pers0: input x-axis perspective factor
pers1: input y-axis perspective factor
pers2: perspective scale factor
memononen commented
Take a look at: https://github.com/memononen/nanovg/blob/master/src/nanovg.h#L300
NanoVG does not support perspective transform, though.
LightSun commented
ok, thanks
Mikko Mononen <notifications@github.com> 於 2020年12月4日 週五 下午2:03寫道:
… Take a look at:
https://github.com/memononen/nanovg/blob/master/src/nanovg.h#L300
NanoVG does not support perspective transform, though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#595 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUGAA5RRMKKB4MMJ76MW3TSTB3R7ANCNFSM4UMZTO2A>
.