LibreOffice Module toolkit (master) 1
|
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/awt/Point.hpp>
#include <tools/gen.hxx>
Go to the source code of this file.
Functions | |
css::awt::Size | AWTSize (const Size &rVCLSize) |
inline ::Size | VCLSize (const css::awt::Size &rAWTSize) |
css::awt::Point | AWTPoint (const ::Point &rVCLPoint) |
inline ::Point | VCLPoint (const css::awt::Point &rAWTPoint) |
css::awt::Rectangle | AWTRectangle (const ::tools::Rectangle &rVCLRect) |
inline ::tools::Rectangle | VCLRectangle (const css::awt::Rectangle &rAWTRect) |
|
inline |
Definition at line 39 of file convert.hxx.
|
inline |
Definition at line 49 of file convert.hxx.
Referenced by VCLXRegion::getBounds(), VCLXWindow::getPosSize(), VCLXRegion::getRectangles(), VCLXWindow::ProcessWindowEvent(), VCLXHatchWindow::QueryObjAreaPixel(), and VCLXHatchWindow::RequestObjAreaPixel().
|
inline |
Definition at line 29 of file convert.hxx.
References Size::Height(), and Size::Width().
Referenced by VCLXMultiLineEdit::calcAdjustedSize(), VCLXButton::calcAdjustedSize(), VCLXCheckBox::calcAdjustedSize(), VCLXRadioButton::calcAdjustedSize(), VCLXListBox::calcAdjustedSize(), VCLXComboBox::calcAdjustedSize(), VCLXButton::getMinimumSize(), VCLXCheckBox::getMinimumSize(), VCLXRadioButton::getMinimumSize(), VCLXFixedHyperlink::getMinimumSize(), VCLXFixedText::getMinimumSize(), VCLXEdit::getMinimumSize(), VCLXListBox::getMinimumSize(), VCLXComboBox::getMinimumSize(), VCLXImageControl::getMinimumSize(), VCLXMultiLineEdit::getMinimumSize(), VCLXFileControl::getMinimumSize(), VCLXWindow::getOutputSize(), VCLXEdit::getPreferredSize(), VCLXListBox::getPreferredSize(), and VCLXComboBox::getPreferredSize().
inline ::Point VCLPoint | ( | const css::awt::Point & | rAWTPoint | ) |
Definition at line 44 of file convert.hxx.
inline ::tools::Rectangle VCLRectangle | ( | const css::awt::Rectangle & | rAWTRect | ) |
Definition at line 54 of file convert.hxx.
Referenced by VCLXRegion::excludeRectangle(), VCLXMenu::execute(), VCLUnoHelper::GetRegion(), VCLXRegion::intersectRectangle(), VCLXWindow::invalidateRect(), VCLXWindow::ProcessWindowEvent(), VCLXHatchWindow::QueryObjAreaPixel(), VCLXRegion::unionRectangle(), and VCLXRegion::xOrRectangle().
inline ::Size VCLSize | ( | const css::awt::Size & | rAWTSize | ) |
Definition at line 34 of file convert.hxx.
Referenced by VCLXMultiLineEdit::calcAdjustedSize(), VCLXButton::calcAdjustedSize(), VCLXCheckBox::calcAdjustedSize(), VCLXRadioButton::calcAdjustedSize(), VCLXListBox::calcAdjustedSize(), VCLXComboBox::calcAdjustedSize(), and VCLXWindow::setOutputSize().