mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 16:03:00 +00:00
[MSPAINT] s/Bound/Clamp/
CORE-18867
This commit is contained in:
parent
ec53d42278
commit
d04e049284
3 changed files with 7 additions and 7 deletions
|
@ -254,7 +254,7 @@ void ImageModel::RotateNTimes90Degrees(int iN)
|
|||
NotifyImageChanged();
|
||||
}
|
||||
|
||||
void ImageModel::Bound(POINT& pt) const
|
||||
void ImageModel::Clamp(POINT& pt) const
|
||||
{
|
||||
pt.x = max(0, min(pt.x, GetWidth()));
|
||||
pt.y = max(0, min(pt.y, GetHeight()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue