ReactOS 0.4.15-dev-5884-gab5aff5
|
#include <selectionmodel.h>
Private Member Functions | |
void | NotifyRefreshNeeded () |
SelectionModel (const SelectionModel &) | |
SelectionModel & | operator= (const SelectionModel &) |
Private Attributes | |
HDC | m_hDC |
RECT | m_rcSrc |
RECT | m_rcDest |
HBITMAP | m_hBm |
HBITMAP | m_hMask |
POINT * | m_ptStack |
int | m_iPtSP |
Definition at line 26 of file selectionmodel.h.
SelectionModel::SelectionModel | ( | ) |
Definition at line 16 of file selectionmodel.cpp.
SelectionModel::~SelectionModel | ( | ) |
Definition at line 27 of file selectionmodel.cpp.
|
private |
Definition at line 63 of file selectionmodel.cpp.
Referenced by FreeSelTool::OnButtonUp().
Definition at line 106 of file selectionmodel.cpp.
Referenced by RectSelTool::OnButtonUp().
Definition at line 117 of file selectionmodel.cpp.
Referenced by ImageModel::DrawSelectionBackground().
Definition at line 292 of file selectionmodel.cpp.
Referenced by FreeSelTool::OnMouseMove().
Definition at line 127 of file selectionmodel.cpp.
Referenced by CSelectionWindow::ForceRefreshSelectionContents(), and CSelectionWindow::OnMouseMove().
Definition at line 137 of file selectionmodel.cpp.
Referenced by CSelectionWindow::OnMouseMove().
void SelectionModel::FlipHorizontally | ( | ) |
Definition at line 188 of file selectionmodel.cpp.
Referenced by CMainWindow::OnCommand().
void SelectionModel::FlipVertically | ( | ) |
Definition at line 199 of file selectionmodel.cpp.
Referenced by CMainWindow::OnCommand().
HBITMAP SelectionModel::GetBitmap | ( | ) | const |
Definition at line 282 of file selectionmodel.cpp.
Referenced by CMainWindow::OnCommand().
LONG SelectionModel::GetDestRectHeight | ( | ) | const |
Definition at line 381 of file selectionmodel.cpp.
Referenced by CSelectionWindow::OnMouseMove(), and placeSelWin().
LONG SelectionModel::GetDestRectLeft | ( | ) | const |
Definition at line 386 of file selectionmodel.cpp.
Referenced by placeSelWin().
LONG SelectionModel::GetDestRectTop | ( | ) | const |
Definition at line 391 of file selectionmodel.cpp.
Referenced by placeSelWin().
LONG SelectionModel::GetDestRectWidth | ( | ) | const |
Definition at line 376 of file selectionmodel.cpp.
Referenced by CSelectionWindow::OnMouseMove(), and placeSelWin().
Definition at line 401 of file selectionmodel.cpp.
Referenced by TextTool::OnButtonUp().
Definition at line 165 of file selectionmodel.cpp.
Referenced by CMainWindow::InsertSelectionFromHBITMAP(), RotateNTimes90Degrees(), and StretchSkew().
BOOL SelectionModel::IsSrcRectSizeNonzero | ( | ) | const |
Definition at line 311 of file selectionmodel.cpp.
Referenced by RectSelTool::OnButtonUp(), and TextTool::OnButtonUp().
Definition at line 316 of file selectionmodel.cpp.
Referenced by CSelectionWindow::OnMouseMove().
|
private |
Definition at line 396 of file selectionmodel.cpp.
Referenced by FlipHorizontally(), FlipVertically(), RotateNTimes90Degrees(), and StretchSkew().
|
private |
int SelectionModel::PtStackSize | ( | ) | const |
Definition at line 287 of file selectionmodel.cpp.
Referenced by FreeSelTool::OnButtonUp().
Definition at line 49 of file selectionmodel.cpp.
Referenced by FreeSelTool::OnButtonDown(), and FreeSelTool::OnMouseMove().
void SelectionModel::ResetPtStack | ( | ) |
Definition at line 41 of file selectionmodel.cpp.
Referenced by FreeSelTool::OnButtonDown(), FreeSelTool::OnButtonUp(), ToolBase::reset(), and ~SelectionModel().
Definition at line 210 of file selectionmodel.cpp.
Referenced by CMainWindow::OnCommand().
void SelectionModel::ScaleContentsToFit | ( | ) |
Definition at line 142 of file selectionmodel.cpp.
Referenced by CSelectionWindow::OnLButtonUp().
Definition at line 297 of file selectionmodel.cpp.
Referenced by RectSelTool::OnMouseMove(), and TextTool::UpdatePoint().
void SelectionModel::SetSrcRectSizeToZero | ( | ) |
void SelectionModel::StretchSkew | ( | int | nStretchPercentX, |
int | nStretchPercentY, | ||
int | nSkewDegX = 0 , |
||
int | nSkewDegY = 0 |
||
) |
Definition at line 239 of file selectionmodel.cpp.
Referenced by CMainWindow::OnCommand().
|
private |
Definition at line 32 of file selectionmodel.h.
Referenced by CalculateBoundingBoxAndContents(), CalculateContents(), DrawSelectionStretched(), FlipHorizontally(), FlipVertically(), GetBitmap(), InsertFromHBITMAP(), RotateNTimes90Degrees(), ScaleContentsToFit(), StretchSkew(), and ~SelectionModel().
|
private |
Definition at line 29 of file selectionmodel.h.
Referenced by CalculateBoundingBoxAndContents(), CalculateContents(), DrawSelection(), DrawSelectionStretched(), FlipHorizontally(), FlipVertically(), InsertFromHBITMAP(), RotateNTimes90Degrees(), ScaleContentsToFit(), StretchSkew(), and ~SelectionModel().
|
private |
Definition at line 33 of file selectionmodel.h.
Referenced by CalculateBoundingBoxAndContents(), CalculateContents(), DrawSelection(), FlipHorizontally(), FlipVertically(), InsertFromHBITMAP(), RotateNTimes90Degrees(), ScaleContentsToFit(), and ~SelectionModel().
|
private |
Definition at line 35 of file selectionmodel.h.
Referenced by CalculateBoundingBoxAndContents(), DrawBackgroundPoly(), DrawFramePoly(), PtStackSize(), PushToPtStack(), and ResetPtStack().
|
private |
Definition at line 34 of file selectionmodel.h.
Referenced by CalculateBoundingBoxAndContents(), DrawBackgroundPoly(), DrawFramePoly(), PushToPtStack(), and ResetPtStack().
|
private |
Definition at line 31 of file selectionmodel.h.
Referenced by CalculateBoundingBoxAndContents(), DrawSelection(), DrawSelectionStretched(), FlipHorizontally(), FlipVertically(), GetDestRectHeight(), GetDestRectLeft(), GetDestRectTop(), GetDestRectWidth(), GetRect(), InsertFromHBITMAP(), ModifyDestRect(), RotateNTimes90Degrees(), ScaleContentsToFit(), SelectionModel(), SetSrcAndDestRectFromPoints(), and StretchSkew().
|
private |
Definition at line 30 of file selectionmodel.h.
Referenced by CalculateBoundingBoxAndContents(), CalculateContents(), DrawBackgroundRect(), InsertFromHBITMAP(), IsSrcRectSizeNonzero(), SelectionModel(), SetSrcAndDestRectFromPoints(), and SetSrcRectSizeToZero().