MCPcopy Create free account
hub / github.com/a-e-k/canvas_ity / begin_path

Function begin_path

test/test.cpp:996–1010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

994}
995
996void begin_path( canvas &that, float width, float height )
997{
998 that.move_to( 0.0f, 0.0f );
999 that.line_to( width, height );
1000 that.stroke();
1001 that.set_color( stroke_style, 0.0f, 0.0f, 0.0f, 1.0f );
1002 that.begin_path();
1003 that.begin_path();
1004 that.move_to( width, 0.0f );
1005 that.line_to( 0.0f, height );
1006 that.stroke();
1007 that.begin_path();
1008 that.line_to( 0.5f * width, height );
1009 that.stroke();
1010}
1011
1012void move_to( canvas &that, float width, float height )
1013{

Callers

nothing calls this directly

Calls 5

move_toMethod · 0.80
line_toMethod · 0.80
strokeMethod · 0.80
set_colorMethod · 0.80
begin_pathMethod · 0.80

Tested by

no test coverage detected