[MSPAINT] s/Bound/Clamp/

CORE-18867
This commit is contained in:
Katayama Hirofumi MZ 2023-06-22 07:57:36 +09:00
parent ec53d42278
commit d04e049284
3 changed files with 7 additions and 7 deletions

View file

@ -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()));