| 37 | } |
| 38 | |
| 39 | interface RectangleStyle { |
| 40 | width: number; // Original width (w) |
| 41 | height: number; // Original height (h) |
| 42 | left: number; // Final CSS left |
| 43 | top: number; // Final CSS top |
| 44 | rotation: number; // Rotation in degrees |
| 45 | } |
| 46 | |
| 47 | export function calculateRectangleFromBoundingBox( |
| 48 | boundingBox: BoundingBox, |
nothing calls this directly
no outgoing calls
no test coverage detected