MCPcopy Create free account
hub / github.com/c3d/tao3D / lineTo

Method lineTo

tao/widget.cpp:9469–9482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9467
9468
9469Tree_p Widget::lineTo(Tree_p self, Real_p x, Real_p y, Real_p z)
9470// ----------------------------------------------------------------------------
9471// Add a 'lineTo' to the current path
9472// ----------------------------------------------------------------------------
9473{
9474 if (!path)
9475 {
9476 Ooops("No path for $1", self);
9477 return XL::xl_false;
9478 }
9479 path->lineTo(Point3(x,y,z));
9480 path->AddControl(self, true, x, y, z);
9481 return XL::xl_true;
9482}
9483
9484
9485Tree_p Widget::curveTo(Tree_p self,

Callers 5

DrawMethod · 0.80
addEndpointToPathFunction · 0.80
extractQtPathMethod · 0.80
DrawPlaceholderMethod · 0.80
lineToRelMethod · 0.80

Calls 2

Point3Class · 0.85
AddControlMethod · 0.80

Tested by

no test coverage detected