Lines Matching refs:a2Pos
121 Point a2Pos=GetPosPixel(); in MouseButtonUp() local
122 Point a3Pos=a2Pos; in MouseButtonUp()
128 a2Pos.X()+=nDeltaX; in MouseButtonUp()
129 if(a2Pos.X()<aXMovingRange.Min()) in MouseButtonUp()
132 a2Pos.X()=aXMovingRange.Min(); in MouseButtonUp()
134 else if(a2Pos.X()>aXMovingRange.Max()) in MouseButtonUp()
137 a2Pos.X()=aXMovingRange.Max(); in MouseButtonUp()
144 a2Pos.Y()+=nDeltaY; in MouseButtonUp()
145 if(a2Pos.Y()<aYMovingRange.Min()) in MouseButtonUp()
148 a2Pos.Y()=aYMovingRange.Min(); in MouseButtonUp()
150 else if(a2Pos.Y()>aYMovingRange.Max()) in MouseButtonUp()
153 a2Pos.Y()=aYMovingRange.Max(); in MouseButtonUp()
156 SetPosPixel(a2Pos); in MouseButtonUp()
181 Point a2Pos=GetPosPixel(); in MouseMove() local
182 Point a3Pos=a2Pos; in MouseMove()
189 a2Pos.X()+=nDeltaX; in MouseMove()
191 if(a2Pos.X()<aXMovingRange.Min()) in MouseMove()
194 a2Pos.X()=aXMovingRange.Min(); in MouseMove()
196 else if(a2Pos.X()>aXMovingRange.Max()) in MouseMove()
199 a2Pos.X()=aXMovingRange.Max(); in MouseMove()
206 a2Pos.Y()+=nDeltaY; in MouseMove()
207 if(a2Pos.Y()<aYMovingRange.Min()) in MouseMove()
210 a2Pos.Y()=aYMovingRange.Min(); in MouseMove()
212 else if(a2Pos.Y()>aYMovingRange.Max()) in MouseMove()
215 a2Pos.Y()=aYMovingRange.Max(); in MouseMove()
219 SetPosPixel(a2Pos); in MouseMove()
304 Point a2Pos=GetPosPixel(); in MoveSplitTo() local
305 nOldX=(short)a2Pos.X(); in MoveSplitTo()
306 nOldY=(short)a2Pos.Y(); in MoveSplitTo()
307 Point a3Pos=a2Pos; in MoveSplitTo()
313 a2Pos.X()+=nDeltaX; in MoveSplitTo()
314 if(a2Pos.X()<aXMovingRange.Min()) in MoveSplitTo()
317 a2Pos.X()=aXMovingRange.Min(); in MoveSplitTo()
319 else if(a2Pos.X()>aXMovingRange.Max()) in MoveSplitTo()
322 a2Pos.X()=aXMovingRange.Max(); in MoveSplitTo()
329 a2Pos.Y()+=nDeltaY; in MoveSplitTo()
330 if(a2Pos.Y()<aYMovingRange.Min()) in MoveSplitTo()
333 a2Pos.Y()=aYMovingRange.Min(); in MoveSplitTo()
335 else if(a2Pos.Y()>aYMovingRange.Max()) in MoveSplitTo()
338 a2Pos.Y()=aYMovingRange.Max(); in MoveSplitTo()
341 SetPosPixel(a2Pos); in MoveSplitTo()