From: Jabiertxo A. C. <jab...@ma...> - 2012-10-19 17:58:29
|
Solved by myself (Find the second handle position (p2) ): Geom_::Cueve foo = ... Geom::Point p2 = ?; if (foo) { Geom::CubicBezier const * cubic = dynamic_cast<Geom::CubicBezier const *>( foo ); if ( cubic && (*cubic)[2] != (*cubic)[3] ){ //symm node -> p2 = g3 + ((*cubic1)[2] - g3)/3; p2 = (*cubic1)[2]; } } Hi to all |