ReactOS 0.4.15-dev-7897-g78dc504
FreeSelTool Struct Reference
Inheritance diagram for FreeSelTool:
Collaboration diagram for FreeSelTool:

Public Member Functions

void OnDrawOverlayOnImage (HDC hdc) override
 
- Public Member Functions inherited from SelectionBaseTool
BOOL isRectSelect () const
 
void OnDrawOverlayOnImage (HDC hdc) override
 
void OnDrawOverlayOnCanvas (HDC hdc) override
 
void OnButtonDown (BOOL bLeftButton, LONG x, LONG y, BOOL bDoubleClick) override
 
BOOL OnMouseMove (BOOL bLeftButton, LONG &x, LONG &y) override
 
BOOL OnButtonUp (BOOL bLeftButton, LONG &x, LONG &y) override
 
void OnEndDraw (BOOL bCancel) override
 
void OnSpecialTweak (BOOL bMinus) override
 
- Public Member Functions inherited from ToolBase
 ToolBase ()
 
virtual ~ToolBase ()
 
virtual void OnButtonDown (BOOL bLeftButton, LONG x, LONG y, BOOL bDoubleClick)
 
virtual BOOL OnMouseMove (BOOL bLeftButton, LONG &x, LONG &y)
 
virtual BOOL OnButtonUp (BOOL bLeftButton, LONG &x, LONG &y)
 
virtual void OnDrawOverlayOnImage (HDC hdc)
 
virtual void OnDrawOverlayOnCanvas (HDC hdc)
 
virtual void OnSpecialTweak (BOOL bMinus)
 
virtual void OnEndDraw (BOOL bCancel)
 
void beginEvent ()
 
void endEvent ()
 
void reset ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ToolBase
static ToolBasecreateToolObject (TOOLTYPE type)
 
- Public Attributes inherited from SelectionBaseTool
BOOL m_bLeftButton = FALSE
 
BOOL m_bCtrlKey = FALSE
 
BOOL m_bShiftKey = FALSE
 
BOOL m_bDrawing = FALSE
 
BOOL m_bNoDrawBack = FALSE
 
HITTEST m_hitSelection = HIT_NONE
 
- Public Attributes inherited from ToolBase
HDC m_hdc
 
COLORREF m_fg
 
COLORREF m_bg
 

Detailed Description

Definition at line 554 of file mouse.cpp.

Member Function Documentation

◆ OnDrawOverlayOnImage()

void FreeSelTool::OnDrawOverlayOnImage ( HDC  hdc)
inlineoverridevirtual

Reimplemented from SelectionBaseTool.

Definition at line 556 of file mouse.cpp.

557 {
559
561 {
562 /* Draw the freehand selection inverted/xored */
563 Poly(hdc, s_pPoints, (INT)s_cPoints, 0, 0, 2, 0, FALSE, TRUE);
564 }
565 }
static LPPOINT s_pPoints
Definition: mouse.cpp:16
static SIZE_T s_cPoints
Definition: mouse.cpp:12
SelectionModel selectionModel
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
void Poly(HDC hdc, POINT *lpPoints, int nCount, COLORREF fg, COLORREF bg, int thickness, int style, BOOL closed, BOOL inverted)
Definition: drawing.cpp:68
HDC hdc
Definition: main.c:9
void OnDrawOverlayOnImage(HDC hdc) override
Definition: mouse.cpp:387
int32_t INT
Definition: typedefs.h:58

The documentation for this struct was generated from the following file: