pointToPhysical
Parameters
- rs:*const RectScale
- *const RectScale
- p:Point
- Point
Source
Implementation
pub fn pointToPhysical(rs: *const RectScale, p: Point) Point.Physical {
return p.scale(rs.s, Point.Physical).plus(rs.r.topLeft());
}Source
pub fn pointToPhysical(rs: *const RectScale, p: Point) Point.Physical {
return p.scale(rs.s, Point.Physical).plus(rs.r.topLeft());
}