Lines Matching refs:aConvert
1106 Point aConvert( in GetPixelPos() local
1114 return LogicToPixel( aConvert, maMapMode ); in GetPixelPos()
1119 Point aConvert = PixelToLogic( rIn, maMapMode ); in GetLogicPos() local
1120 aConvert.X() -= PREVIEW_UPPER_LEFT; in GetLogicPos()
1121 aConvert.Y() -= PREVIEW_UPPER_TOP; in GetLogicPos()
1122 if( aConvert.X() < 0 ) in GetLogicPos()
1123 aConvert.X() = 0; in GetLogicPos()
1124 if( aConvert.X() >= PREVIEW_WIDTH ) in GetLogicPos()
1125 aConvert.X() = PREVIEW_WIDTH-1; in GetLogicPos()
1126 if( aConvert.Y() < 0 ) in GetLogicPos()
1127 aConvert.Y() = 0; in GetLogicPos()
1128 if( aConvert.Y() >= PREVIEW_HEIGHT ) in GetLogicPos()
1129 aConvert.Y() = PREVIEW_HEIGHT-1; in GetLogicPos()
1131 aConvert.X() *= ( maMaxBottomRight.X() - maMinTopLeft.X() ); in GetLogicPos()
1132 aConvert.X() /= PREVIEW_WIDTH; in GetLogicPos()
1133 aConvert.Y() *= ( maMaxBottomRight.Y() - maMinTopLeft.Y() ); in GetLogicPos()
1134 aConvert.Y() /= PREVIEW_HEIGHT; in GetLogicPos()
1135 return aConvert; in GetLogicPos()