LibreOffice Module extensions (master) 1
Public Member Functions | Public Attributes | List of all members
GridWindow::impHandle Struct Reference
Collaboration diagram for GridWindow::impHandle:
[legend]

Public Member Functions

 impHandle (const Point &rPos, sal_uInt16 nX, sal_uInt16 nY)
 
bool operator< (const impHandle &rComp) const
 
void draw (vcl::RenderContext &rRenderContext, const BitmapEx &rBitmapEx)
 
bool isHit (OutputDevice const &rWin, const Point &rPos)
 

Public Attributes

Point maPos
 
sal_uInt16 mnOffX
 
sal_uInt16 mnOffY
 

Detailed Description

Definition at line 42 of file grid.cxx.

Constructor & Destructor Documentation

◆ impHandle()

GridWindow::impHandle::impHandle ( const Point rPos,
sal_uInt16  nX,
sal_uInt16  nY 
)
inline

Definition at line 48 of file grid.cxx.

Member Function Documentation

◆ draw()

void GridWindow::impHandle::draw ( vcl::RenderContext rRenderContext,
const BitmapEx rBitmapEx 
)
inline

Definition at line 58 of file grid.cxx.

References OutputDevice::DrawBitmapEx(), maPos, mnOffX, mnOffY, and OutputDevice::PixelToLogic().

◆ isHit()

bool GridWindow::impHandle::isHit ( OutputDevice const &  rWin,
const Point rPos 
)
inline

Definition at line 64 of file grid.cxx.

References tools::Rectangle::Contains(), maPos, mnOffX, mnOffY, and OutputDevice::PixelToLogic().

◆ operator<()

bool GridWindow::impHandle::operator< ( const impHandle rComp) const
inline

Definition at line 53 of file grid.cxx.

References maPos, and Point::X().

Member Data Documentation

◆ maPos

Point GridWindow::impHandle::maPos

Definition at line 44 of file grid.cxx.

Referenced by draw(), isHit(), and operator<().

◆ mnOffX

sal_uInt16 GridWindow::impHandle::mnOffX

Definition at line 45 of file grid.cxx.

Referenced by draw(), and isHit().

◆ mnOffY

sal_uInt16 GridWindow::impHandle::mnOffY

Definition at line 46 of file grid.cxx.

Referenced by draw(), and isHit().


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