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

Method transformPoint

blocks/Cairo/src/Cairo.cpp:529–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529vec2 Matrix::transformPoint( const vec2 &v ) const
530{
531 double x = v.x, y = v.y;
532 cairo_matrix_transform_point( &getCairoMatrix(), &x, &y );
533 return vec2( (float)x, (float)y );
534}
535
536vec2 Matrix::transformDistance( const vec2 &v ) const
537{

Callers 1

TestMatrix44Function · 0.80

Calls

no outgoing calls

Tested by 1

TestMatrix44Function · 0.64