| 397 | } |
| 398 | |
| 399 | void transform_stroke( canvas &that, float width, float height ) |
| 400 | { |
| 401 | that.set_color( stroke_style, 0.0f, 0.0f, 0.0f, 1.0f ); |
| 402 | that.set_line_width( 8.0f ); |
| 403 | float segments[] = { 22.0f, 8.0f, 10.0f, 8.0f }; |
| 404 | that.set_line_dash( segments, 4 ); |
| 405 | that.begin_path(); |
| 406 | that.arc( width * 0.5f, height * 0.5f, min( width, height ) * 0.4f, |
| 407 | 0.0f, 6.28318531f ); |
| 408 | that.close_path(); |
| 409 | that.transform( 1.0f, 1.0f, 0.0f, 2.0f, 0.0f, 0.0f ); |
| 410 | that.stroke(); |
| 411 | } |
| 412 | |
| 413 | void set_transform( canvas &that, float width, float height ) |
| 414 | { |
nothing calls this directly
no test coverage detected