vendor/swftools/lib/pdf/xpdf/SplashXPath.cc
inline void SplashXPath::transform(SplashCoord *matrix,
				   SplashCoord xi, SplashCoord yi,
				   SplashCoord *xo, SplashCoord *yo) {
  //                          [ m[0] m[1] 0 ]
  // [xo yo 1] = [xi yi 1] *  [ m[2] m[3] 0 ]
  //                          [ m[4] m[5] 1 ]
  *xo = xi * matrix[0] + yi * matrix[2] + matrix[4];
  *yo = xi * matrix[1] + yi * matrix[3] + matrix[5];
}
// Transform a point from user space to device space.
Transform a point from user space to device space.
Transform a point from user space to device space .
inline void SplashXPath::transform(SplashCoord *matrix,
				   SplashCoord xi, SplashCoord yi,
				   SplashCoord *xo, SplashCoord *yo) {
  *xo = xi * matrix[0] + yi * matrix[2] + matrix[4];
  *yo = xi * matrix[1] + yi * matrix[3] + matrix[5];
}
inline void SplashXPath :: transform ( SplashCoord * matrix , SplashCoord xi , SplashCoord yi , SplashCoord * xo , SplashCoord * yo ) { * xo = xi * matrix [ 0 ] + yi * matrix [ 2 ] + matrix [ 4 ] ; * yo = xi * matrix [ 1 ] + yi * matrix [ 3 ] + matrix [ 5 ] ; }
Transform a point from user space to device space.
Transform a point from user space to device space .
//                          [ m[0] m[1] 0 ] // [xo yo 1] = [xi yi 1] *  [ m[2] m[3] 0 ] //                          [ m[4] m[5] 1 ]