Found this when playing with radialgradient. Set VG_MATRIX_MODE to VG_MATRIX_FILL_PAINT_TO_USER Called the following to rotate around the center of the gradient (x, y): vgTranslate(x, y); vgRotate(angle); vgTranslate(-x, -y); vgDrawPath()
This should cause the center to stay put with simple rotation (calling radialgrad -noncenter is the way to see it) but it moves the center. So Translate or Rotate has a problem. I didn't have time to do the in-depth testing as before to better locate the issue, but I did test on another platform to verify code correctness. -- View this message in context: http://www.nabble.com/OpenVG-Bug%3A-Transormations-of-Fill-Paint-tp25492221p25492221.html Sent from the mesa3d-dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev