| 359 | // set line join |
| 360 | struct TestSetLineJoin : public TestBase { |
| 361 | virtual void run( fli::cairo::Context &ctx ) { |
| 362 | ctx.setLineWidth( 40.96 ); |
| 363 | ctx.moveTo( 76.8, 84.48 ); |
| 364 | ctx.relLineTo( 51.2, -51.2 ); |
| 365 | ctx.relLineTo( 51.2, 51.2 ); |
| 366 | ctx.setLineJoin( fli::cairo::LINE_JOIN_MITER ); |
| 367 | ctx.stroke(); |
| 368 | |
| 369 | ctx.moveTo( 76.8, 161.28 ); |
| 370 | ctx.relLineTo( 51.2, -51.2 ); |
| 371 | ctx.relLineTo( 51.2, 51.2 ); |
| 372 | ctx.setLineJoin( fli::cairo::LINE_JOIN_BEVEL ); |
| 373 | ctx.stroke(); |
| 374 | |
| 375 | ctx.moveTo( 76.8, 238.08 ); |
| 376 | ctx.relLineTo( 51.2, -51.2 ); |
| 377 | ctx.relLineTo( 51.2, 51.2 ); |
| 378 | ctx.setLineJoin( fli::cairo::LINE_JOIN_ROUND ); |
| 379 | ctx.stroke(); |
| 380 | } |
| 381 | }; |
| 382 | |
| 383 | // text |
nothing calls this directly
no test coverage detected