mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Removal of RelativeCoordinate classes from the Drawables
This commit is contained in:
parent
ce8b2d865a
commit
3300e71e17
22 changed files with 162 additions and 2089 deletions
|
|
@ -196,10 +196,7 @@ public:
|
|||
|
||||
newState.parseSubElements (xml, *drawable);
|
||||
|
||||
drawable->setContentArea (RelativeRectangle (RelativeCoordinate (viewboxXY.x),
|
||||
RelativeCoordinate (viewboxXY.x + newState.viewBoxW),
|
||||
RelativeCoordinate (viewboxXY.y),
|
||||
RelativeCoordinate (viewboxXY.y + newState.viewBoxH)));
|
||||
drawable->setContentArea ({ viewboxXY.x, viewboxXY.y, newState.viewBoxW, newState.viewBoxH });
|
||||
drawable->resetBoundingBoxToContentArea();
|
||||
|
||||
return drawable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue