How can I calculate the size of a frame to a bigger frame/surfacegui

I have an drawing system (yes still for anyone been on my topics) and I made it go onto the board in the workspace, how can I calculate the amount to up size it to be the same relative size that it looks in the original frame?

2 Likes

Do you mean like setting the ‘CanvasSize’ property of the surface gui to the absolute size of the frame?

2 Likes

No, scale up the drawn frames to the size of the surface gui

2 Likes

I basically want it to replicate the exact that they drawn, and make the size (of the drawn items) show on the surface gui as pretty accurate to the original one on the UI

2 Likes

What if you converted the pixels on the canvas’s size and position to scale instead of offset and then copied those onto a canvas that’s similarly sized in the resolution? Does that make any sense at all lol

2 Likes

Understand most of it, not sure what you mean like this

1 Like

For higher quality, you could set the surface GUI’s canvas size to like 4-5x the absolute size of the drawing canvas?

2 Likes

Like the UI canvas? I assume? but then it wouldn’t fit the board would it?

1 Like

I set the size to the UI canvas? wouldnt that change the board size

1 Like