Hi,

I am developping a 2D API based on OpenVG and I am using AmanithVG implementation for now.
However I would like to use a coordinate system where 0,0 corresponds to top left (like GDI or
quartz) instead of bottom left, so how can I did this ?

I suppose I need something like :

vgSeti(VG_MATRIX_MODE, VG_MATRIX_PATH_USER_TO_SURFACE);
vgLoadMatrix( ?, ?, ?, ?, ?, ?, ?, ?, ?);
vgSeti(VG_MATRIX_MODE, VG_MATRIX_IMAGE_USER_TO_SURFACE);
vgLoadMatrix( ?, ?, ?, ?, ?, ?, ?, ?, ?);
...

Let's say my window is width x height what should I pass to vgLoadMatrix ?

Thanks