MCPcopy Create free account
hub / github.com/cinience/RedisStudio / Normalize

Method Normalize

DuiLib/Utils/Utils.cpp:121–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 }
120
121 void CDuiRect::Normalize()
122 {
123 if( left > right ) { int iTemp = left; left = right; right = iTemp; }
124 if( top > bottom ) { int iTemp = top; top = bottom; bottom = iTemp; }
125 }
126
127 void CDuiRect::Offset(int cx, int cy)
128 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected