mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[MSPAINT] Realize Masked Skew
- Add CreateMonoBitmap and CopyMonoImage functions to dib.cpp. - Add bMono parameter to SkewDIB function. - Add hbmMask parameter to InsertFromHBITMAP function. - Add ToolsModel::IsSelection. CORE-18867
This commit is contained in:
parent
f6bd638b4d
commit
9afcbea24e
8 changed files with 111 additions and 27 deletions
|
@ -40,6 +40,11 @@ ToolBase *ToolsModel::GetOrCreateTool(TOOLTYPE nTool)
|
|||
return m_tools[nTool];
|
||||
}
|
||||
|
||||
BOOL ToolsModel::IsSelection() const
|
||||
{
|
||||
return (GetActiveTool() == TOOL_RECTSEL || GetActiveTool() == TOOL_FREESEL);
|
||||
}
|
||||
|
||||
int ToolsModel::GetLineWidth() const
|
||||
{
|
||||
return m_lineWidth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue