| 371 | } |
| 372 | |
| 373 | void transform( canvas &that, float width, float height ) |
| 374 | { |
| 375 | that.set_color( stroke_style, 0.0f, 0.0f, 0.0f, 1.0f ); |
| 376 | for ( int step = 0; step < 8; ++step ) |
| 377 | { |
| 378 | that.transform( 1.0f, 0.0f, 0.1f, 1.0f, width * -0.05f, 0.0f ); |
| 379 | that.stroke_rectangle( width * 0.25f, height * 0.25f, |
| 380 | width * 0.5f, height * 0.5f ); |
| 381 | } |
| 382 | } |
| 383 | |
| 384 | void transform_fill( canvas &that, float width, float height ) |
| 385 | { |
no test coverage detected