ReactOS 0.4.16-dev-1025-gd3456f5
|
#include <canvas.h>
Public Member Functions | |
DECLARE_WND_CLASS_EX (L"ReactOSPaintCanvas", CS_DBLCLKS|CS_HREDRAW|CS_VREDRAW, COLOR_APPWORKSPACE) CCanvasWindow() | |
virtual | ~CCanvasWindow () |
VOID | OnEndDraw (BOOL bCancel) |
VOID | updateScrollRange () |
VOID | updateScrollPos (INT x=0, INT y=0) |
VOID | ImageToCanvas (POINT &pt) |
VOID | ImageToCanvas (RECT &rc) |
VOID | CanvasToImage (POINT &pt) |
VOID | CanvasToImage (RECT &rc) |
VOID | GetImageRect (RECT &rc) |
VOID | getNewZoomRect (CRect &rcView, INT newZoom, CPoint ptTarget) |
VOID | zoomTo (INT newZoom, LONG left=0, LONG top=0) |
Public Attributes | |
BOOL | m_drawing |
Protected Attributes | |
HITTEST | m_hitCanvasSizeBox |
POINT | m_ptOrig |
CRect | m_rcResizing |
UINT | m_nMouseDownMsg = 0 |
|
virtual |
Definition at line 22 of file canvas.cpp.
Definition at line 66 of file canvas.cpp.
Referenced by OnButtonDown(), and OnSetCursor().
Definition at line 48 of file canvas.cpp.
Referenced by DoDraw(), CTextEditWindow::InvalidateEditRect(), OnButtonDblClk(), OnButtonDown(), OnButtonUp(), OnMouseMove(), and zoomTo().
Definition at line 55 of file canvas.cpp.
CCanvasWindow::DECLARE_WND_CLASS_EX | ( | L"ReactOSPaintCanvas" | , |
CS_DBLCLKS|CS_HREDRAW| | CS_VREDRAW, | ||
COLOR_APPWORKSPACE | |||
) |
Definition at line 117 of file canvas.cpp.
Referenced by OnPaint().
|
protected |
Definition at line 26 of file canvas.cpp.
Referenced by CanvasHitTest(), and DoDraw().
Definition at line 61 of file canvas.cpp.
Referenced by DoDraw(), GetBaseRect(), ZoomTool::getNewZoomRect(), getNewZoomRect(), OnMouseMove(), CTextEditWindow::OnMoving(), OnSetCursor(), and CTextEditWindow::OnSizing().
Definition at line 74 of file canvas.cpp.
Referenced by ZoomTool::getNewZoomRect().
Definition at line 35 of file canvas.cpp.
Referenced by DoDraw(), SelectionModel::drawFrameOnCanvas(), GetBaseRect(), ZoomTool::getNewZoomRect(), getNewZoomRect(), SelectionModel::hitTest(), SelectionBaseTool::OnButtonDown(), OnMouseMove(), CTextEditWindow::OnMoving(), OnSetCursor(), CTextEditWindow::OnSizing(), CTextEditWindow::ValidateEditRect(), and zoomTo().
Definition at line 42 of file canvas.cpp.
|
protected |
Definition at line 379 of file canvas.cpp.
|
protected |
Definition at line 307 of file canvas.cpp.
|
protected |
Definition at line 520 of file canvas.cpp.
|
protected |
Definition at line 671 of file canvas.cpp.
|
protected |
Definition at line 685 of file canvas.cpp.
|
protected |
Definition at line 728 of file canvas.cpp.
Definition at line 721 of file canvas.cpp.
Referenced by CMainWindow::ConfirmSave(), CMainWindow::OnCommand(), OnKeyDown(), and CMainWindow::saveImage().
|
protected |
Definition at line 691 of file canvas.cpp.
|
protected |
Definition at line 295 of file canvas.cpp.
Definition at line 265 of file canvas.cpp.
Referenced by OnHScroll(), and OnVScroll().
|
protected |
Definition at line 656 of file canvas.cpp.
|
protected |
Definition at line 394 of file canvas.cpp.
|
protected |
Definition at line 696 of file canvas.cpp.
|
protected |
Definition at line 735 of file canvas.cpp.
|
protected |
Definition at line 586 of file canvas.cpp.
|
protected |
Definition at line 257 of file canvas.cpp.
|
protected |
Definition at line 301 of file canvas.cpp.
Definition at line 251 of file canvas.cpp.
Referenced by CMainWindow::OnCommand(), SetBitmapAndInfo(), and zoomTo().
VOID CCanvasWindow::updateScrollRange | ( | ) |
Definition at line 220 of file canvas.cpp.
Referenced by ImageModel::NotifyImageChanged(), OnButtonUp(), OnSize(), and zoomTo().
Definition at line 102 of file canvas.cpp.
Referenced by ZoomTool::OnButtonDown(), CMainWindow::OnCommand(), CMainWindow::OnMouseWheel(), and CToolSettingsWindow::OnVScroll().
BOOL CCanvasWindow::m_drawing |
Definition at line 43 of file canvas.h.
Referenced by SelectionModel::Landing(), OnButtonDblClk(), OnButtonDown(), OnButtonUp(), CMainWindow::OnCommand(), TextTool::OnDrawOverlayOnImage(), OnEndDraw(), and OnMouseMove().
|
protected |
Definition at line 58 of file canvas.h.
Referenced by DoDraw(), OnButtonDown(), OnButtonUp(), OnCancelMode(), OnKeyDown(), and OnMouseMove().
|
protected |
Definition at line 81 of file canvas.h.
Referenced by OnButtonDblClk(), OnButtonDown(), OnButtonUp(), OnKeyDown(), OnMouseMove(), and OnSetCursor().
|
protected |
Definition at line 59 of file canvas.h.
Referenced by OnButtonDown(), OnButtonUp(), and OnMouseMove().
|
protected |
Definition at line 60 of file canvas.h.
Referenced by DoDraw(), OnButtonUp(), OnCancelMode(), OnKeyDown(), and OnMouseMove().