basegfx::tools::ImplB2DClipState Struct Reference

Collaboration diagram for basegfx::tools::ImplB2DClipState:

Collaboration graph
[legend]

List of all members.

Public Types

enum  Operation {
  UNION,
  INTERSECT,
  XOR,
  SUBTRACT
}

Public Member Functions

 ImplB2DClipState ()
 ImplB2DClipState (const B2DRange &rRange)
 ImplB2DClipState (const B2DPolygon &rPoly)
 ImplB2DClipState (const B2DPolyPolygon &rPoly)
bool isCleared () const
void makeClear ()
bool isNullClipPoly () const
bool isNull () const
void makeNull ()
bool operator== (const ImplB2DClipState &rRHS) const
void addRange (const B2DRange &rRange, Operation eOp)
void addPolygon (B2DPolygon aPoly, Operation eOp)
void addPolyPolygon (B2DPolyPolygon aPoly, Operation eOp)
void addClipState (const ImplB2DClipState &rOther, Operation eOp)
void unionRange (const B2DRange &rRange)
void unionPolygon (const B2DPolygon &rPoly)
void unionPolyPolygon (const B2DPolyPolygon &rPolyPoly)
void unionClipState (const ImplB2DClipState &rOther)
void intersectRange (const B2DRange &rRange)
void intersectPolygon (const B2DPolygon &rPoly)
void intersectPolyPolygon (const B2DPolyPolygon &rPolyPoly)
void intersectClipState (const ImplB2DClipState &rOther)
void subtractRange (const B2DRange &rRange)
void subtractPolygon (const B2DPolygon &rPoly)
void subtractPolyPolygon (const B2DPolyPolygon &rPolyPoly)
void subtractClipState (const ImplB2DClipState &rOther)
void xorRange (const B2DRange &rRange)
void xorPolygon (const B2DPolygon &rPoly)
void xorPolyPolygon (const B2DPolyPolygon &rPolyPoly)
void xorClipState (const ImplB2DClipState &rOther)
B2DPolyPolygon getClipPoly () const

Private Member Functions

void commitPendingPolygons () const
void commitPendingRanges () const

Private Attributes

B2DPolyPolygon maPendingPolygons
B2DPolyRange maPendingRanges
B2DPolyPolygon maClipPoly
Operation mePendingOps


Detailed Description

Definition at line 48 of file b2dclipstate.cxx.


Member Enumeration Documentation

Enumerator:
UNION 
INTERSECT 
XOR 
SUBTRACT 

Definition at line 51 of file b2dclipstate.cxx.


Constructor & Destructor Documentation

basegfx::tools::ImplB2DClipState::ImplB2DClipState (  )  [inline]

Definition at line 53 of file b2dclipstate.cxx.

basegfx::tools::ImplB2DClipState::ImplB2DClipState ( const B2DRange rRange  )  [inline, explicit]

Definition at line 60 of file b2dclipstate.cxx.

basegfx::tools::ImplB2DClipState::ImplB2DClipState ( const B2DPolygon rPoly  )  [inline, explicit]

Definition at line 68 of file b2dclipstate.cxx.

basegfx::tools::ImplB2DClipState::ImplB2DClipState ( const B2DPolyPolygon rPoly  )  [inline, explicit]

Definition at line 75 of file b2dclipstate.cxx.


Member Function Documentation

bool basegfx::tools::ImplB2DClipState::isCleared (  )  const [inline]

void basegfx::tools::ImplB2DClipState::makeClear (  )  [inline]

bool basegfx::tools::ImplB2DClipState::isNullClipPoly (  )  const [inline]

bool basegfx::tools::ImplB2DClipState::isNull (  )  const [inline]

void basegfx::tools::ImplB2DClipState::makeNull (  )  [inline]

bool basegfx::tools::ImplB2DClipState::operator== ( const ImplB2DClipState rRHS  )  const [inline]

Definition at line 119 of file b2dclipstate.cxx.

References maClipPoly, maPendingPolygons, maPendingRanges, and mePendingOps.

void basegfx::tools::ImplB2DClipState::addRange ( const B2DRange rRange,
Operation  eOp 
) [inline]

void basegfx::tools::ImplB2DClipState::addPolygon ( B2DPolygon  aPoly,
Operation  eOp 
) [inline]

void basegfx::tools::ImplB2DClipState::addPolyPolygon ( B2DPolyPolygon  aPoly,
Operation  eOp 
) [inline]

void basegfx::tools::ImplB2DClipState::addClipState ( const ImplB2DClipState rOther,
Operation  eOp 
) [inline]

void basegfx::tools::ImplB2DClipState::unionRange ( const B2DRange rRange  )  [inline]

Definition at line 182 of file b2dclipstate.cxx.

References addRange(), isCleared(), and UNION.

void basegfx::tools::ImplB2DClipState::unionPolygon ( const B2DPolygon rPoly  )  [inline]

Definition at line 190 of file b2dclipstate.cxx.

References addPolygon(), isCleared(), and UNION.

void basegfx::tools::ImplB2DClipState::unionPolyPolygon ( const B2DPolyPolygon rPolyPoly  )  [inline]

Definition at line 198 of file b2dclipstate.cxx.

References addPolyPolygon(), isCleared(), and UNION.

void basegfx::tools::ImplB2DClipState::unionClipState ( const ImplB2DClipState rOther  )  [inline]

Definition at line 206 of file b2dclipstate.cxx.

References addClipState(), isCleared(), and UNION.

void basegfx::tools::ImplB2DClipState::intersectRange ( const B2DRange rRange  )  [inline]

Definition at line 214 of file b2dclipstate.cxx.

References addRange(), INTERSECT, and isNull().

void basegfx::tools::ImplB2DClipState::intersectPolygon ( const B2DPolygon rPoly  )  [inline]

Definition at line 222 of file b2dclipstate.cxx.

References addPolygon(), INTERSECT, and isNull().

void basegfx::tools::ImplB2DClipState::intersectPolyPolygon ( const B2DPolyPolygon rPolyPoly  )  [inline]

Definition at line 230 of file b2dclipstate.cxx.

References addPolyPolygon(), INTERSECT, and isNull().

void basegfx::tools::ImplB2DClipState::intersectClipState ( const ImplB2DClipState rOther  )  [inline]

Definition at line 238 of file b2dclipstate.cxx.

References addClipState(), INTERSECT, and isNull().

void basegfx::tools::ImplB2DClipState::subtractRange ( const B2DRange rRange  )  [inline]

Definition at line 246 of file b2dclipstate.cxx.

References addRange(), isNull(), and SUBTRACT.

void basegfx::tools::ImplB2DClipState::subtractPolygon ( const B2DPolygon rPoly  )  [inline]

Definition at line 254 of file b2dclipstate.cxx.

References addPolygon(), isNull(), and SUBTRACT.

void basegfx::tools::ImplB2DClipState::subtractPolyPolygon ( const B2DPolyPolygon rPolyPoly  )  [inline]

Definition at line 262 of file b2dclipstate.cxx.

References addPolyPolygon(), isNull(), and SUBTRACT.

void basegfx::tools::ImplB2DClipState::subtractClipState ( const ImplB2DClipState rOther  )  [inline]

Definition at line 270 of file b2dclipstate.cxx.

References addClipState(), isNull(), and SUBTRACT.

void basegfx::tools::ImplB2DClipState::xorRange ( const B2DRange rRange  )  [inline]

Definition at line 278 of file b2dclipstate.cxx.

References addRange(), and XOR.

void basegfx::tools::ImplB2DClipState::xorPolygon ( const B2DPolygon rPoly  )  [inline]

Definition at line 283 of file b2dclipstate.cxx.

References addPolygon(), and XOR.

void basegfx::tools::ImplB2DClipState::xorPolyPolygon ( const B2DPolyPolygon rPolyPoly  )  [inline]

Definition at line 288 of file b2dclipstate.cxx.

References addPolyPolygon(), and XOR.

void basegfx::tools::ImplB2DClipState::xorClipState ( const ImplB2DClipState rOther  )  [inline]

Definition at line 293 of file b2dclipstate.cxx.

References addClipState(), and XOR.

B2DPolyPolygon basegfx::tools::ImplB2DClipState::getClipPoly (  )  const [inline]

Definition at line 298 of file b2dclipstate.cxx.

References commitPendingPolygons(), commitPendingRanges(), and maClipPoly.

void basegfx::tools::ImplB2DClipState::commitPendingPolygons (  )  const [inline, private]

void basegfx::tools::ImplB2DClipState::commitPendingRanges (  )  const [inline, private]


Member Data Documentation


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

Generated on Thu Apr 29 13:57:22 2010 for ooo-build Module basegfx (ooo/OOO320_m15) by  doxygen 1.5.6