20#ifndef INCLUDED_DRAWINGLAYER_PROCESSOR2D_HITTESTPROCESSOR2D_HXX
21#define INCLUDED_DRAWINGLAYER_PROCESSOR2D_HITTESTPROCESSOR2D_HXX
27namespace basegfx {
class B2DPolygon; }
28namespace basegfx {
class B2DPolyPolygon; }
61 bool checkHairlineHitWithTolerance(
64 bool checkFillHitWithTolerance(
88 bool getHit()
const {
return mbHit; }
HitTestProcessor2D class.
const basegfx::B2DPoint & getDiscreteHitPosition() const
data read access
basegfx::B2DVector maDiscreteHitTolerancePerAxis
discrete HitTolerance
void collectHitStack(bool bCollect)
switch on collecting primitives for a found hit on maHitStack, default is off
const primitive2d::Primitive2DContainer & getHitStack() const
get HitStack of primitives, first is the one that created the hit, last is the top-most
bool getCollectHitStack() const
bool getHitTextOnly() const
bool mbCollectHitStack
flag if HitStack shall be collected as part of the result, default is false
basegfx::B2DPoint maDiscreteHitPosition
discrete HitTest position
const basegfx::B2DVector & getDiscreteHitTolerance() const
bool mbHitTextOnly
flag to concentrate on text hits only
primitive2d::Primitive2DContainer maHitStack
stack of HitPrimitives, taken care of during HitTest run
bool mbHit
Boolean to flag if a hit was found. If yes, fast exit is taken.
#define DRAWINGLAYER_DLLPUBLIC