-
Notifications
You must be signed in to change notification settings - Fork 620
Open
Milestone
Description
Are the xCenter and yCenter coordinates relative to the element (as with rotation, right?) or the area?
Line 472 in 9cf56e1
| _UI_EXTERN void uiDrawMatrixScale(uiDrawMatrix *m, double xCenter, double yCenter, double x, double y); |
(I'm guessing it's relative to the area).
I'm trying to scale the rectangle with it's center as the scale center.
Here I drew the rectangle at (50,50) and set the scale center to (50,50). Why does the rectangle move while changing the scaling factor?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
