MCPcopy Create free account
hub / github.com/MapServer/MapServer / curve4_rel

Method curve4_rel

renderers/agg/include/agg_path_storage.h:1063–1073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1061 //------------------------------------------------------------------------
1062 template<class VC>
1063 void path_base<VC>::curve4_rel(double dx_ctrl1, double dy_ctrl1,
1064 double dx_ctrl2, double dy_ctrl2,
1065 double dx_to, double dy_to)
1066 {
1067 rel_to_abs(&dx_ctrl1, &dy_ctrl1);
1068 rel_to_abs(&dx_ctrl2, &dy_ctrl2);
1069 rel_to_abs(&dx_to, &dy_to);
1070 m_vertices.add_vertex(dx_ctrl1, dy_ctrl1, path_cmd_curve4);
1071 m_vertices.add_vertex(dx_ctrl2, dy_ctrl2, path_cmd_curve4);
1072 m_vertices.add_vertex(dx_to, dy_to, path_cmd_curve4);
1073 }
1074
1075 //------------------------------------------------------------------------
1076 template<class VC>

Callers 1

curve4Method · 0.80

Calls 2

curve4Class · 0.85
add_vertexMethod · 0.45

Tested by

no test coverage detected