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

Method curve4_rel

dep/agg/include/agg_path_storage.h:1122–1135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1120 //------------------------------------------------------------------------
1121 template <class VC>
1122 void path_base<VC>::curve4_rel(double dx_ctrl1,
1123 double dy_ctrl1,
1124 double dx_ctrl2,
1125 double dy_ctrl2,
1126 double dx_to,
1127 double dy_to)
1128 {
1129 rel_to_abs(&dx_ctrl1, &dy_ctrl1);
1130 rel_to_abs(&dx_ctrl2, &dy_ctrl2);
1131 rel_to_abs(&dx_to, &dy_to);
1132 m_vertices.add_vertex(dx_ctrl1, dy_ctrl1, path_cmd_curve4);
1133 m_vertices.add_vertex(dx_ctrl2, dy_ctrl2, path_cmd_curve4);
1134 m_vertices.add_vertex(dx_to, dy_to, path_cmd_curve4);
1135 }
1136
1137 //------------------------------------------------------------------------
1138 template <class VC>

Callers 1

cubicCurveRelMethod · 0.80

Calls 2

curve4Class · 0.85
add_vertexMethod · 0.45

Tested by

no test coverage detected