#include <region.hxx>

Public Member Functions | |
| Region () | |
| Region (RegionType eType) | |
| Region (const Rectangle &rRect) | |
| Region (const Polygon &rPolygon) | |
| Region (const PolyPolygon &rPolyPoly) | |
| Region (const basegfx::B2DPolyPolygon &) | |
| Region (const Region &rRegion) | |
| ~Region () | |
| void | Move (long nHorzMove, long nVertMove) |
| void | Scale (double fScaleX, double fScaleY) |
| BOOL | Union (const Rectangle &rRegion) |
| BOOL | Intersect (const Rectangle &rRegion) |
| BOOL | Exclude (const Rectangle &rRegion) |
| BOOL | XOr (const Rectangle &rRegion) |
| BOOL | Union (const Region &rRegion) |
| BOOL | Intersect (const Region &rRegion) |
| BOOL | Exclude (const Region &rRegion) |
| BOOL | XOr (const Region &rRegion) |
| RegionType | GetType () const |
| BOOL | IsEmpty () const |
| BOOL | IsNull () const |
| void | SetEmpty () |
| void | SetNull () |
| Rectangle | GetBoundRect () const |
| BOOL | HasPolyPolygon () const |
| PolyPolygon | GetPolyPolygon () const |
| const basegfx::B2DPolyPolygon | GetB2DPolyPolygon () const |
| ULONG | GetRectCount () const |
| RegionHandle | BeginEnumRects () |
| BOOL | GetEnumRects (RegionHandle hRegionHandle, Rectangle &rRect) |
| BOOL | GetNextEnumRect (RegionHandle hRegionHandle, Rectangle &rRect) |
| void | EndEnumRects (RegionHandle hRegionHandle) |
| BOOL | IsInside (const Point &rPoint) const |
| BOOL | IsInside (const Rectangle &rRect) const |
| BOOL | IsOver (const Rectangle &rRect) const |
| Region & | operator= (const Region &rRegion) |
| Region & | operator= (const Rectangle &rRect) |
| BOOL | operator== (const Region &rRegion) const |
| BOOL | operator!= (const Region &rRegion) const |
Static Public Member Functions | |
| static Region | GetRegionFromPolyPolygon (const PolyPolygon &rPolyPoly) |
Private Member Functions | |
| SAL_DLLPRIVATE void | ImplCopyData () |
| SAL_DLLPRIVATE void | ImplCreateRectRegion (const Rectangle &rRect) |
| SAL_DLLPRIVATE void | ImplCreatePolyPolyRegion (const PolyPolygon &rPolyPoly) |
| SAL_DLLPRIVATE void | ImplPolyPolyRegionToBandRegionFunc () |
| SAL_DLLPRIVATE void | ImplPolyPolyRegionToBandRegion () |
| SAL_DLLPRIVATE const ImplRegion * | ImplGetImplRegion () const |
| SAL_DLLPRIVATE ImplRegion * | ImplGetImplRegion () |
| SAL_DLLPRIVATE BOOL | ImplGetFirstRect (ImplRegionInfo &rImplRegionInfo, long &nX, long &nY, long &nWidth, long &nHeight) const |
| SAL_DLLPRIVATE BOOL | ImplGetNextRect (ImplRegionInfo &rImplRegionInfo, long &nX, long &nY, long &nWidth, long &nHeight) const |
| SAL_DLLPRIVATE void | ImplBeginAddRect () |
| SAL_DLLPRIVATE BOOL | ImplAddRect (const Rectangle &rRect) |
| SAL_DLLPRIVATE void | ImplEndAddRect () |
Private Attributes | |
| ImplRegion * | mpImplRegion |
Friends | |
| class | OutputDevice |
| class | Window |
| class | Bitmap |
| const char * | ImplDbgTestRegion (const void *pObj) |
| VCL_DLLPUBLIC SvStream & | operator>> (SvStream &rIStm, Region &rRegion) |
| VCL_DLLPUBLIC SvStream & | operator<< (SvStream &rOStm, const Region &rRegion) |
Definition at line 56 of file region.hxx.
| Region::Region | ( | ) |
Definition at line 1085 of file region.cxx.
References aImplEmptyRegion, ImplDbgTestRegion, and mpImplRegion.
Referenced by BeginEnumRects(), and GetRegionFromPolyPolygon().
| Region::Region | ( | RegionType | eType | ) |
Definition at line 1094 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplDbgTestRegion, mpImplRegion, REGION_EMPTY, and REGION_NULL.
| Region::Region | ( | const Rectangle & | rRect | ) |
Definition at line 1108 of file region.cxx.
References ImplCreateRectRegion(), and ImplDbgTestRegion.
| Region::Region | ( | const Polygon & | rPolygon | ) |
Definition at line 1117 of file region.cxx.
References ImplCreatePolyPolyRegion(), and ImplDbgTestRegion.
| Region::Region | ( | const PolyPolygon & | rPolyPoly | ) |
Definition at line 1127 of file region.cxx.
References ImplCreatePolyPolyRegion(), and ImplDbgTestRegion.
| Region::Region | ( | const basegfx::B2DPolyPolygon & | rPolyPoly | ) |
| Region::Region | ( | const Region & | rRegion | ) |
Definition at line 1147 of file region.cxx.
References ImplDbgTestRegion, ImplRegionBase::mnRefCount, and mpImplRegion.
| Region::~Region | ( | ) |
Definition at line 1161 of file region.cxx.
References ImplDbgTestRegion, ImplRegionBase::mnRefCount, and mpImplRegion.
| void Region::ImplCopyData | ( | ) | [private] |
Definition at line 1077 of file region.cxx.
References ImplRegionBase::mnRefCount, and mpImplRegion.
Referenced by Exclude(), Intersect(), Move(), Scale(), Union(), and XOr().
| void Region::ImplCreateRectRegion | ( | const Rectangle & | rRect | ) | [private] |
Definition at line 1177 of file region.cxx.
References aImplEmptyRegion, and mpImplRegion.
Referenced by ImplCreatePolyPolyRegion(), operator=(), and Region().
| void Region::ImplCreatePolyPolyRegion | ( | const PolyPolygon & | rPolyPoly | ) | [private] |
Definition at line 1203 of file region.cxx.
References aImplEmptyRegion, ImplCreateRectRegion(), and mpImplRegion.
Referenced by Region().
| void Region::ImplPolyPolyRegionToBandRegionFunc | ( | ) | [private] |
Definition at line 1232 of file region.cxx.
References aImplEmptyRegion, GetPolyPolygon(), ImplGeneralPolygonToBands(), ImplIsPolygonRectilinear(), ImplRectilinearPolygonToBands(), ImplRegionBase::mnRefCount, ImplRegion::mpFirstBand, mpImplRegion, ImplRegionBand::mpNextBand, ImplRegion::OptimizeBandList(), and ImplRegionBand::ProcessPoints().
Referenced by ImplPolyPolyRegionToBandRegion().
| void Region::ImplPolyPolyRegionToBandRegion | ( | ) | [inline, private] |
Definition at line 417 of file region.cxx.
References ImplPolyPolyRegionToBandRegionFunc(), ImplRegionBase::mpB2DPolyPoly, mpImplRegion, and ImplRegionBase::mpPolyPoly.
Referenced by BeginEnumRects(), Exclude(), Intersect(), operator<<(), Union(), and XOr().
| SAL_DLLPRIVATE const ImplRegion* Region::ImplGetImplRegion | ( | ) | const [inline, private] |
Definition at line 70 of file region.hxx.
Referenced by ImplDbgTestRegion(), OutputDevice::LogicToPixel(), and OutputDevice::PixelToLogic().
| SAL_DLLPRIVATE ImplRegion* Region::ImplGetImplRegion | ( | ) | [inline, private] |
Definition at line 71 of file region.hxx.
| BOOL Region::ImplGetFirstRect | ( | ImplRegionInfo & | rImplRegionInfo, | |
| long & | nX, | |||
| long & | nY, | |||
| long & | nWidth, | |||
| long & | nHeight | |||
| ) | const [private] |
Definition at line 2010 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplDbgTestRegion, ImplRegionBandSep::mnXLeft, ImplRegionBandSep::mnXRight, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegion::mpFirstBand, ImplRegionBand::mpFirstSep, mpImplRegion, ImplRegionInfo::mpVoidCurrRectBand, and ImplRegionInfo::mpVoidCurrRectBandSep.
Referenced by OutputDevice::ImplReMirror(), OutputDevice::ImplSelectClipRegion(), Window::ImplSysObjClip(), OutputDevice::LogicToPixel(), OutputDevice::PixelToLogic(), and Window::SetWindowRegionPixel().
| BOOL Region::ImplGetNextRect | ( | ImplRegionInfo & | rImplRegionInfo, | |
| long & | nX, | |||
| long & | nY, | |||
| long & | nWidth, | |||
| long & | nHeight | |||
| ) | const [private] |
Definition at line 2049 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplDbgTestRegion, ImplRegionBandSep::mnXLeft, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegionBand::mpFirstSep, mpImplRegion, ImplRegionBand::mpNextBand, ImplRegionInfo::mpVoidCurrRectBand, and ImplRegionInfo::mpVoidCurrRectBandSep.
Referenced by OutputDevice::ImplReMirror(), OutputDevice::ImplSelectClipRegion(), Window::ImplSysObjClip(), OutputDevice::LogicToPixel(), OutputDevice::PixelToLogic(), and Window::SetWindowRegionPixel().
| void Region::ImplBeginAddRect | ( | ) | [private] |
Definition at line 2551 of file region.cxx.
References ImplDbgTestRegion, ImplRegionBase::mnRefCount, and mpImplRegion.
Referenced by Bitmap::CreateRegion(), OutputDevice::LogicToPixel(), and OutputDevice::PixelToLogic().
| BOOL Region::ImplAddRect | ( | const Rectangle & | rRect | ) | [private] |
Definition at line 2570 of file region.cxx.
References ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegion::mpFirstBand, mpImplRegion, ImplRegion::mpLastCheckedBand, ImplRegionBand::mpNextBand, and ImplRegionBand::Union().
Referenced by Bitmap::CreateRegion(), OutputDevice::LogicToPixel(), and OutputDevice::PixelToLogic().
| void Region::ImplEndAddRect | ( | ) | [private] |
Definition at line 2640 of file region.cxx.
References aImplEmptyRegion, ImplDbgTestRegion, ImplRegionBase::mnRectCount, ImplRegionBand::mnYTop, ImplRegion::mpFirstBand, ImplRegionBand::mpFirstSep, mpImplRegion, ImplRegionBand::mpNextBand, ImplRegionBandSep::mpNextSep, and ImplRegion::OptimizeBandList().
Referenced by Bitmap::CreateRegion(), OutputDevice::LogicToPixel(), and OutputDevice::PixelToLogic().
| void Region::Move | ( | long | nHorzMove, | |
| long | nVertMove | |||
| ) |
Definition at line 1287 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplCopyData(), ImplDbgTestRegion, ImplRegionBase::mnRefCount, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegionBand::MoveX(), ImplRegionBase::mpB2DPolyPoly, ImplRegion::mpFirstBand, mpImplRegion, ImplRegionBand::mpNextBand, ImplRegionBase::mpPolyPoly, and basegfx::B2DPolyPolygon::transform().
Referenced by OutputDevice::GetActiveClipRegion(), Window::GetPaintRegion(), Window::GetWindowClipRegionPixel(), Window::HitTestNativeControl(), SpinField::ImplCalcButtonAreas(), Edit::ImplClearBackground(), Window::ImplMoveAllInvalidateRegions(), Window::ImplMoveInvalidateRegion(), OutputDevice::ImplPixelToDevicePixel(), Window::ImplPosSizeWindow(), Window::ImplScroll(), Window::ImplSysObjClip(), Slider::ImplUpdateRects(), SalGraphics::mirror(), MetaISectRegionClipRegionAction::Move(), MetaClipRegionAction::Move(), OutputDevice::MoveClipRegion(), SpinField::Resize(), ListBox::Resize(), ComboBox::Resize(), Window::SaveBackground(), and OutputDevice::SetTriangleClipRegion().
| void Region::Scale | ( | double | fScaleX, | |
| double | fScaleY | |||
| ) |
Definition at line 1330 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, FRound(), ImplCopyData(), ImplDbgTestRegion, ImplRegionBase::mnRefCount, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegionBase::mpB2DPolyPoly, ImplRegion::mpFirstBand, mpImplRegion, ImplRegionBand::mpNextBand, ImplRegionBase::mpPolyPoly, ImplRegionBand::ScaleX(), and basegfx::B2DPolyPolygon::transform().
Referenced by MetaISectRegionClipRegionAction::Scale(), and MetaClipRegionAction::Scale().
| BOOL Region::Union | ( | const Rectangle & | rRegion | ) |
Definition at line 1373 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplCopyData(), ImplDbgTestRegion, ImplPolyPolyRegionToBandRegion(), ImplRegion::InsertBands(), ImplRegionBase::mnRefCount, mpImplRegion, ImplRegion::OptimizeBandList(), and ImplRegion::Union().
Referenced by Window::ExpandPaintClipRegion(), MenuFloatingWindow::ImplCalcClipRegion(), Window::ImplCalcOverlapRegion(), Window::ImplCallPaint(), ScrollBar::ImplDrawNative(), Window::ImplIntersectAndUnionOverlapWindows(), Window::ImplIntersectAndUnionOverlapWindows2(), Window::ImplInvalidateFrameRegion(), Window::ImplMoveAllInvalidateRegions(), Window::ImplMoveInvalidateRegion(), OutputDevice::ImplReMirror(), Edit::ImplRepaint(), Window::ImplScroll(), Slider::ImplUpdateRects(), TabControl::PreNotify(), and ScrollBar::PreNotify().
| BOOL Region::Intersect | ( | const Rectangle & | rRegion | ) |
Definition at line 1415 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplCopyData(), ImplDbgTestRegion, ImplPolyPolyRegionToBandRegion(), ImplRegion::InsertBands(), ImplRegionBand::Intersect(), ImplRegionBase::mnRectCount, ImplRegionBase::mnRefCount, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegion::mpFirstBand, mpImplRegion, ImplRegionBand::mpNextBand, ImplRegionBase::mpPolyPoly, ImplRegion::OptimizeBandList(), and ImplRegionBand::Union().
Referenced by Window::ExpandPaintClipRegion(), BitmapWriteAccess::FillPolygon(), BitmapWriteAccess::FillPolyPolygon(), OutputDevice::GetActiveClipRegion(), Window::ImplCalcOverlapRegion(), Window::ImplCallPaint(), Window::ImplClipBoundaries(), SVMConverter::ImplConvertFromSVM1(), ToolBox::ImplDrawBackground(), Window::ImplExcludeWindowRegion(), OutputDevice::ImplInitClipRegion(), Window::ImplInitWinClipRegion(), Window::ImplIntersectWindowClipRegion(), Window::ImplIntersectWindowRegion(), Window::ImplInvalidate(), Window::ImplMoveInvalidateRegion(), TabControl::ImplPaint(), Window::ImplPaintToDevice(), Window::ImplPosSizeWindow(), Edit::ImplRepaint(), Window::ImplRestoreOverlapBackground(), Window::ImplScroll(), Window::ImplSysObjClip(), Window::ImplValidate(), Intersect(), OutputDevice::IntersectClipRegion(), IsOver(), and Window::SaveBackground().
| BOOL Region::Exclude | ( | const Rectangle & | rRegion | ) |
Definition at line 1526 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplRegion::Exclude(), ImplCopyData(), ImplDbgTestRegion, ImplPolyPolyRegionToBandRegion(), ImplRegion::InsertBands(), ImplRegionBase::mnRefCount, mpImplRegion, and ImplRegion::OptimizeBandList().
Referenced by ImplPopupFloatWin::DrawBorder(), Window::ImplCalcOverlapRegion(), Window::ImplExcludeWindowRegion(), Window::ImplInvalidateAllOverlapBackgrounds(), Window::ImplPosSizeWindow(), Window::ImplRestoreOverlapBackground(), Window::ImplScroll(), Window::ImplSysObjClip(), Window::ImplValidateFrameRegion(), ImplBorderWindow::InvalidateBorder(), and IsInside().
| BOOL Region::XOr | ( | const Rectangle & | rRegion | ) |
Definition at line 1568 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplCopyData(), ImplDbgTestRegion, ImplPolyPolyRegionToBandRegion(), ImplRegion::InsertBands(), ImplRegionBase::mnRefCount, mpImplRegion, ImplRegion::OptimizeBandList(), and ImplRegion::XOr().
Referenced by GetRegionFromPolyPolygon().
| BOOL Region::Union | ( | const Region & | rRegion | ) |
Definition at line 1610 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplCopyData(), ImplDbgTestRegion, ImplPolyPolyRegionToBandRegion(), ImplRegion::InsertBands(), ImplRegionBase::mnRefCount, ImplRegionBandSep::mnXLeft, ImplRegionBandSep::mnXRight, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegion::mpFirstBand, ImplRegionBand::mpFirstSep, mpImplRegion, ImplRegionBand::mpNextBand, ImplRegionBandSep::mpNextSep, ImplRegion::OptimizeBandList(), and ImplRegion::Union().
| BOOL Region::Intersect | ( | const Region & | rRegion | ) |
Definition at line 1660 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplRegion::Exclude(), ImplCopyData(), ImplDbgTestRegion, ImplPolyPolyRegionToBandRegion(), ImplRegion::InsertBands(), Intersect(), ImplRegionBand::mbTouched, ImplRegionBase::mnRectCount, ImplRegionBase::mnRefCount, ImplRegionBandSep::mnXLeft, ImplRegionBandSep::mnXRight, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegion::mpFirstBand, ImplRegionBand::mpFirstSep, mpImplRegion, ImplRegionBand::mpNextBand, ImplRegionBandSep::mpNextSep, and ImplRegion::OptimizeBandList().
| BOOL Region::Exclude | ( | const Region & | rRegion | ) |
Definition at line 1799 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplRegion::Exclude(), ImplCopyData(), ImplDbgTestRegion, ImplPolyPolyRegionToBandRegion(), ImplRegion::InsertBands(), ImplRegionBase::mnRefCount, ImplRegionBandSep::mnXLeft, ImplRegionBandSep::mnXRight, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegion::mpFirstBand, ImplRegionBand::mpFirstSep, mpImplRegion, ImplRegionBand::mpNextBand, ImplRegionBandSep::mpNextSep, and ImplRegion::OptimizeBandList().
| BOOL Region::XOr | ( | const Region & | rRegion | ) |
Definition at line 1852 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplCopyData(), ImplDbgTestRegion, ImplPolyPolyRegionToBandRegion(), ImplRegion::InsertBands(), ImplRegionBase::mnRefCount, ImplRegionBandSep::mnXLeft, ImplRegionBandSep::mnXRight, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegion::mpFirstBand, ImplRegionBand::mpFirstSep, mpImplRegion, ImplRegionBand::mpNextBand, ImplRegionBandSep::mpNextSep, ImplRegion::OptimizeBandList(), and ImplRegion::XOr().
| RegionType Region::GetType | ( | ) | const |
Definition at line 2095 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplRegionBase::mnRectCount, mpImplRegion, REGION_COMPLEX, REGION_EMPTY, REGION_NULL, and REGION_RECTANGLE.
Referenced by OutputDevice::IntersectClipRegion(), OutputDevice::LogicToPixel(), operator<<(), OutputDevice::PixelToLogic(), OutputDevice::SetClipRegion(), and Window::SetWindowRegionPixel().
| BOOL Region::IsEmpty | ( | ) | const [inline] |
Definition at line 106 of file region.hxx.
References REGION_EMPTY.
Referenced by Window::ExpandPaintClipRegion(), BitmapWriteAccess::FillPolygon(), BitmapWriteAccess::FillPolyPolygon(), Window::ImplCalcToTop(), Window::ImplCallPaint(), Window::ImplClipBoundaries(), OutputDevice::ImplInitClipRegion(), Window::ImplInvalidate(), Window::ImplInvalidateAllOverlapBackgrounds(), Window::ImplInvalidateOverlapFrameRegion(), Window::ImplMoveAllInvalidateRegions(), TabControl::ImplPaint(), Window::ImplPosSizeWindow(), Window::ImplScroll(), Window::ImplSysObjClip(), Window::ImplValidate(), Window::Invalidate(), IsInside(), IsOver(), TabControl::PreNotify(), Window::SaveBackground(), Window::SetWindowRegionPixel(), Window::SetZOrder(), Window::Show(), vcl::PDFWriterImpl::updateGraphicsState(), and Window::Validate().
| BOOL Region::IsNull | ( | ) | const [inline] |
Definition at line 107 of file region.hxx.
References REGION_NULL.
Referenced by OutputDevice::DrawGradient(), OutputDevice::DrawTransparent(), Edit::ImplClearBackground(), ImplAnimView::ImplDraw(), OutputDevice::ImplDrawAlpha(), OutputDevice::ImplDrawFrameDev(), ImplAnimView::ImplDrawToPos(), Window::Invalidate(), vcl::PDFWriterImpl::updateGraphicsState(), and Window::Validate().
| void Region::SetEmpty | ( | ) |
Definition at line 2207 of file region.cxx.
References aImplEmptyRegion, ImplDbgTestRegion, ImplRegionBase::mnRefCount, and mpImplRegion.
Referenced by Window::ImplCallPaint(), Window::ImplMoveAllInvalidateRegions(), and Window::ImplValidateFrameRegion().
| void Region::SetNull | ( | ) |
Definition at line 2188 of file region.cxx.
References aImplNullRegion, ImplDbgTestRegion, ImplRegionBase::mnRefCount, and mpImplRegion.
Referenced by Window::GetWindowClipRegionPixel().
| Rectangle Region::GetBoundRect | ( | ) | const |
Definition at line 1905 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, basegfx::B2DRange::getHeight(), basegfx::B2DRange::getMinX(), basegfx::B2DRange::getMinY(), basegfx::tools::getRange(), basegfx::B2DRange::getWidth(), ImplRegionBand::GetXLeftBoundary(), ImplRegionBand::GetXRightBoundary(), ImplDbgTestRegion, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegionBase::mpB2DPolyPoly, ImplRegion::mpFirstBand, mpImplRegion, ImplRegionBand::mpNextBand, and ImplRegionBase::mpPolyPoly.
Referenced by ListBox::CalcMinimumSize(), StatusBar::CalcWindowSizePixel(), OutputDevice::DrawTransparent(), GDIMetaFile::GetBoundRect(), ScrollBar::ImplCalc(), SpinField::ImplCalcButtonAreas(), ComboBox::ImplCalcEditHeight(), ToolBox::ImplCalcItem(), StatusBar::ImplCalcProgressRect(), Menu::ImplCalcSize(), Window::ImplCallPaint(), Edit::ImplClearBackground(), OutputDevice::ImplDrawAlpha(), ToolBox::ImplDrawConstantBackground(), ImplDrawFrame(), CheckBox::ImplGetCheckImageSize(), ToolBox::ImplGetDragWidth(), TabControl::ImplGetItemSize(), Menu::ImplGetNativeCheckAndRadioSize(), RadioButton::ImplGetRadioImageSize(), ListBox::ImplInit(), Window::ImplInitAppFontData(), TabControl::ImplPaint(), PushButton::ImplSetDefButton(), CheckBox::ImplSetMinimumNWFSize(), RadioButton::ImplSetMinimumNWFSize(), SVMConverter::ImplWriteActions(), ImplSmallBorderWindowView::Init(), SalGraphics::mirror(), ScrollBar::PreNotify(), SpinField::Resize(), ListBox::Resize(), ComboBox::Resize(), and Window::Show().
| BOOL Region::HasPolyPolygon | ( | ) | const |
Definition at line 1954 of file region.cxx.
References ImplDbgTestRegion, ImplRegionBase::mpB2DPolyPoly, mpImplRegion, and ImplRegionBase::mpPolyPoly.
Referenced by OutputDevice::ImplSelectClipRegion(), operator<<(), GDIMetaFile::Rotate(), and vcl::PDFWriterImpl::updateGraphicsState().
| PolyPolygon Region::GetPolyPolygon | ( | ) | const |
Definition at line 1968 of file region.cxx.
References ImplDbgTestRegion, ImplRegionBase::mpB2DPolyPoly, mpImplRegion, and ImplRegionBase::mpPolyPoly.
Referenced by ImplPolyPolyRegionToBandRegionFunc(), operator<<(), GDIMetaFile::Rotate(), and vcl::PDFWriterImpl::updateGraphicsState().
| const basegfx::B2DPolyPolygon Region::GetB2DPolyPolygon | ( | ) | const |
Definition at line 1989 of file region.cxx.
References ImplDbgTestRegion, ImplRegionBase::mpB2DPolyPoly, mpImplRegion, and ImplRegionBase::mpPolyPoly.
Referenced by OutputDevice::ImplSelectClipRegion().
| ULONG Region::GetRectCount | ( | ) | const |
Definition at line 2704 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplDbgTestRegion, ImplRegionBase::mnRectCount, ImplRegion::mpFirstBand, ImplRegionBand::mpFirstSep, mpImplRegion, ImplRegionBand::mpNextBand, and ImplRegionBandSep::mpNextSep.
Referenced by OutputDevice::ImplSelectClipRegion(), Window::ImplSysObjClip(), and Window::SetWindowRegionPixel().
| RegionHandle Region::BeginEnumRects | ( | ) |
Definition at line 2738 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplDbgTestRegion, ImplPolyPolyRegionToBandRegion(), ImplRegionHandle::mbFirst, ImplRegionHandle::mpCurrRectBand, ImplRegionHandle::mpCurrRectBandSep, ImplRegion::mpFirstBand, ImplRegionBand::mpFirstSep, mpImplRegion, ImplRegionHandle::mpRegion, and Region().
Referenced by BitmapWriteAccess::FillPolygon(), BitmapWriteAccess::FillPolyPolygon(), and vcl::PDFWriterImpl::updateGraphicsState().
| BOOL Region::GetEnumRects | ( | RegionHandle | hRegionHandle, | |
| Rectangle & | rRect | |||
| ) |
Definition at line 2768 of file region.cxx.
References ImplDbgTestRegion, ImplRegionHandle::mbFirst, ImplRegionBandSep::mnXLeft, ImplRegionBandSep::mnXRight, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegionHandle::mpCurrRectBand, ImplRegionHandle::mpCurrRectBandSep, ImplRegionBand::mpFirstSep, ImplRegionBand::mpNextBand, and ImplRegionBandSep::mpNextSep.
| BOOL Region::GetNextEnumRect | ( | RegionHandle | hRegionHandle, | |
| Rectangle & | rRect | |||
| ) | [inline] |
Definition at line 121 of file region.hxx.
Referenced by BitmapWriteAccess::FillPolygon(), BitmapWriteAccess::FillPolyPolygon(), and vcl::PDFWriterImpl::updateGraphicsState().
| void Region::EndEnumRects | ( | RegionHandle | hRegionHandle | ) |
Definition at line 2808 of file region.cxx.
References ImplDbgTestRegion, and ImplRegionHandle::mpRegion.
Referenced by BitmapWriteAccess::FillPolygon(), BitmapWriteAccess::FillPolyPolygon(), and vcl::PDFWriterImpl::updateGraphicsState().
| BOOL Region::IsInside | ( | const Point & | rPoint | ) | const |
Definition at line 2109 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplDbgTestRegion, ImplRegionBand::IsInside(), ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegion::mpFirstBand, mpImplRegion, and ImplRegionBand::mpNextBand.
Referenced by Window::ImplHitTest().
| BOOL Region::IsInside | ( | const Rectangle & | rRect | ) | const |
Definition at line 2147 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, Exclude(), ImplDbgTestRegion, IsEmpty(), and mpImplRegion.
| BOOL Region::IsOver | ( | const Rectangle & | rRect | ) | const |
Definition at line 2169 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplDbgTestRegion, Intersect(), IsEmpty(), and mpImplRegion.
Definition at line 2226 of file region.cxx.
References ImplDbgTestRegion, ImplRegionBase::mnRefCount, and mpImplRegion.
| Region & Region::operator= | ( | const Rectangle & | rRect | ) |
Definition at line 2252 of file region.cxx.
References ImplCreateRectRegion(), ImplDbgTestRegion, ImplRegionBase::mnRefCount, and mpImplRegion.
| BOOL Region::operator== | ( | const Region & | rRegion | ) | const |
Definition at line 2271 of file region.cxx.
References aImplEmptyRegion, aImplNullRegion, ImplDbgTestRegion, ImplRegionBandSep::mnXLeft, ImplRegionBandSep::mnXRight, ImplRegionBand::mnYBottom, ImplRegionBand::mnYTop, ImplRegion::mpFirstBand, ImplRegionBand::mpFirstSep, mpImplRegion, ImplRegionBand::mpNextBand, ImplRegionBandSep::mpNextSep, and ImplRegionBase::mpPolyPoly.
Referenced by operator!=().
| BOOL Region::operator!= | ( | const Region & | rRegion | ) | const [inline] |
| Region Region::GetRegionFromPolyPolygon | ( | const PolyPolygon & | rPolyPoly | ) | [static] |
Definition at line 2868 of file region.cxx.
References ImplPolygonRectTest(), Region(), and XOr().
Referenced by OutputDevice::SetTriangleClipRegion().
friend class OutputDevice [friend] |
Definition at line 58 of file region.hxx.
friend class Window [friend] |
Definition at line 59 of file region.hxx.
friend class Bitmap [friend] |
Definition at line 60 of file region.hxx.
| const char* ImplDbgTestRegion | ( | const void * | pObj | ) | [friend] |
Definition at line 324 of file region.cxx.
Referenced by BeginEnumRects(), EndEnumRects(), Exclude(), GetB2DPolyPolygon(), GetBoundRect(), GetEnumRects(), GetPolyPolygon(), GetRectCount(), HasPolyPolygon(), ImplBeginAddRect(), ImplEndAddRect(), ImplGetFirstRect(), ImplGetNextRect(), Intersect(), IsInside(), IsOver(), Move(), operator<<(), operator=(), operator==(), operator>>(), Region(), Scale(), SetEmpty(), SetNull(), Union(), XOr(), and ~Region().
| VCL_DLLPUBLIC SvStream& operator>> | ( | SvStream & | rIStm, | |
| Region & | rRegion | |||
| ) | [friend] |
Definition at line 2374 of file region.cxx.
| VCL_DLLPUBLIC SvStream& operator<< | ( | SvStream & | rOStm, | |
| const Region & | rRegion | |||
| ) | [friend] |
Definition at line 2485 of file region.cxx.
ImplRegion* Region::mpImplRegion [private] |
Definition at line 63 of file region.hxx.
Referenced by BeginEnumRects(), Exclude(), GetB2DPolyPolygon(), GetBoundRect(), GetPolyPolygon(), GetRectCount(), GetType(), HasPolyPolygon(), ImplAddRect(), ImplBeginAddRect(), ImplCopyData(), ImplCreatePolyPolyRegion(), ImplCreateRectRegion(), ImplEndAddRect(), ImplGetFirstRect(), ImplGetNextRect(), ImplPolyPolyRegionToBandRegion(), ImplPolyPolyRegionToBandRegionFunc(), Intersect(), IsInside(), IsOver(), Move(), operator<<(), operator=(), operator==(), operator>>(), Region(), Scale(), SetEmpty(), SetNull(), Union(), XOr(), and ~Region().
1.5.6