Makes sure that the section's Y-axis orientation matches the argument by potentially reordering its rows.
| 101 | |
| 102 | /// Makes sure that the section's Y-axis orientation matches the argument by potentially reordering its rows. |
| 103 | inline void reorient(YAxisOrientation newYAxisOrientation) { |
| 104 | if (yOrientation != newYAxisOrientation) { |
| 105 | pixels += rowStride*(height-1); |
| 106 | rowStride = -rowStride; |
| 107 | yOrientation = newYAxisOrientation; |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | }; |
| 112 |
no outgoing calls
no test coverage detected