MCPcopy Create free account
hub / github.com/cinder/Cinder / quadTo

Method quadTo

src/cinder/Path2d.cpp:183–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void Path2d::quadTo( const vec2 &p1, const vec2 &p2 )
184{
185 if( mPoints.empty() )
186 throw Path2dExc(); // can only quadTo as non-first point
187
188 mPoints.push_back( p1 );
189 mPoints.push_back( p2 );
190 mSegments.push_back( QUADTO );
191}
192
193void Path2d::smoothQuadTo( const vec2 &p2 )
194{

Callers 8

mouseDragMethod · 0.45
operator()Method · 0.45
Path2dTest.cppFile · 0.45
getGlyphShapeMethod · 0.45
ftShape2dConicToFunction · 0.45
parsePathFunction · 0.45
path2dpart2.jsFile · 0.45
path2dpart1.jsFile · 0.45

Calls 2

emptyMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected