| 527 | } |
| 528 | |
| 529 | vec2 Matrix::transformPoint( const vec2 &v ) const |
| 530 | { |
| 531 | double x = v.x, y = v.y; |
| 532 | cairo_matrix_transform_point( &getCairoMatrix(), &x, &y ); |
| 533 | return vec2( (float)x, (float)y ); |
| 534 | } |
| 535 | |
| 536 | vec2 Matrix::transformDistance( const vec2 &v ) const |
| 537 | { |