MCPcopy Create free account
hub / github.com/MyGUI/mygui / reorient

Method reorient

MyGUIEngine/src/msdfgen/core/BitmapRef.hpp:103–109  ·  view source on GitHub ↗

Makes sure that the section's Y-axis orientation matches the argument by potentially reordering its rows.

Source from the content-addressed store, hash-verified

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

Callers 15

protectCornersMethod · 0.45
protectEdgesMethod · 0.45
findErrorsMethod · 0.45
applyMethod · 0.45
saveRgbaFunction · 0.45
generateDistanceFieldFunction · 0.45
generateSDF_legacyFunction · 0.45
generatePSDF_legacyFunction · 0.45
generateMSDF_legacyFunction · 0.45
generateMTSDF_legacyFunction · 0.45
saveTiffFloatFunction · 0.45
saveFl32Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected