|
LibreOffice Module vcl (master) 1
|
#include <sal/types.h>#include <tools/poly.hxx>#include <tools/helpers.hxx>#include <vcl/metaact.hxx>#include <vcl/virdev.hxx>#include <salgdi.hxx>#include <cassert>Go to the source code of this file.
Functions | |
| BmpMirrorFlags | AdjustTwoRect (SalTwoRect &rTwoRect, const Size &rSizePix) |
| void | AdjustTwoRect (SalTwoRect &rTwoRect, const tools::Rectangle &rValidSrcRect) |
| BmpMirrorFlags AdjustTwoRect | ( | SalTwoRect & | rTwoRect, |
| const Size & | rSizePix | ||
| ) |
Definition at line 340 of file rect.cxx.
References tools::Rectangle::Bottom(), FRound(), tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), Size::Height(), Horizontal, tools::Rectangle::Intersection(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), SalTwoRect::mnDestHeight, SalTwoRect::mnDestWidth, SalTwoRect::mnDestX, SalTwoRect::mnDestY, SalTwoRect::mnSrcHeight, SalTwoRect::mnSrcWidth, SalTwoRect::mnSrcX, SalTwoRect::mnSrcY, NONE, tools::Rectangle::Right(), tools::Rectangle::Top(), Vertical, and Size::Width().
Referenced by OutputDevice::CopyArea(), OutputDevice::DrawBitmap(), OutputDevice::DrawDeviceBitmapEx(), OutputDevice::DrawDeviceMask(), OutputDevice::DrawOutDev(), and OutputDevice::drawOutDevDirect().
| void AdjustTwoRect | ( | SalTwoRect & | rTwoRect, |
| const tools::Rectangle & | rValidSrcRect | ||
| ) |
Definition at line 399 of file rect.cxx.
References tools::Rectangle::Bottom(), FRound(), tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), tools::Rectangle::Intersection(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), SalTwoRect::mnDestHeight, SalTwoRect::mnDestWidth, SalTwoRect::mnDestX, SalTwoRect::mnDestY, SalTwoRect::mnSrcHeight, SalTwoRect::mnSrcWidth, SalTwoRect::mnSrcX, SalTwoRect::mnSrcY, tools::Rectangle::Right(), and tools::Rectangle::Top().