[MSPAINT] Introduce partial image history (#5994)

- Add IMAGE_PART structure and use as history items.
- Overload ImageModel::PushImageForUndo(const RECT& rcPartial).
- Add ToolsModel::GetToolSize.
- Implement partial image history on TwoPointDrawTool.
CORE-19094
This commit is contained in:
Katayama Hirofumi MZ 2023-11-19 12:59:39 +09:00 committed by GitHub
parent 416d63026e
commit 72081168fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 118 additions and 18 deletions

View file

@ -124,6 +124,8 @@ public:
void SetRubberRadius(int nRubberRadius);
void MakeRubberThickerOrThinner(BOOL bThinner);
SIZE GetToolSize() const;
BOOL IsBackgroundTransparent() const;
void SetBackgroundTransparent(BOOL bTransparent);