| 46 | } |
| 47 | |
| 48 | Point Point::fromPixels(int32_t width, int32_t height, float pointScale) { |
| 49 | return Point(pixelsToPoints(width, pointScale), pixelsToPoints(height, pointScale)); |
| 50 | } |
| 51 | |
| 52 | std::string Size::toString() const { |
| 53 | return fmt::format("width: {}, height: {}", width, height); |
nothing calls this directly
no test coverage detected