| 94 | //------------------------------------------------------------------------------ |
| 95 | |
| 96 | PixelsPerSecondScaleFactor::PixelsPerSecondScaleFactor(int pixels_per_second) : |
| 97 | pixels_per_second_(pixels_per_second) |
| 98 | { |
| 99 | if (pixels_per_second_ <= 0) { |
| 100 | throwError("Invalid pixels per second: must be greater than zero"); |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | //------------------------------------------------------------------------------ |
| 105 |
nothing calls this directly
no test coverage detected