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