| 759 | } |
| 760 | |
| 761 | void VPathEditor::setPathScale( const VectorF &pScale ) |
| 762 | { |
| 763 | // Fetch Paths. |
| 764 | VPath *serverPath = mSelection.Path; |
| 765 | VPath *clientPath = getClientPath( serverPath ); |
| 766 | |
| 767 | // Fetch Current Scale. |
| 768 | VectorF scale = serverPath->getScale(); |
| 769 | scale.convolve( pScale ); |
| 770 | |
| 771 | // Update Scale. |
| 772 | serverPath->setScale( scale ); |
| 773 | clientPath->setScale( scale ); |
| 774 | |
| 775 | // Update Selection. |
| 776 | updateSelection(); |
| 777 | } |
| 778 | |
| 779 | //----------------------------------------------------------------------------- |
| 780 | // |