MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / move_to

Method move_to

dep/agg/src/agg_trans_single_path.cpp:41–52  ·  view source on GitHub ↗

------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

39
40 //------------------------------------------------------------------------
41 void trans_single_path::move_to(double x, double y)
42 {
43 if(m_status == initial)
44 {
45 m_src_vertices.modify_last(vertex_dist(x, y));
46 m_status = making_path;
47 }
48 else
49 {
50 line_to(x, y);
51 }
52 }
53
54 //------------------------------------------------------------------------
55 void trans_single_path::line_to(double x, double y)

Callers 6

addLineMethod · 0.45
triangleMethod · 0.45
rectangleMethod · 0.45
starMethod · 0.45
curveMethod · 0.45
moveToMethod · 0.45

Calls 2

vertex_distClass · 0.85
modify_lastMethod · 0.45

Tested by

no test coverage detected