/** Collection of geometry related convenience functions.
*/ class PresenterGeometryHelper
{ public: static sal_Int32 Round (constdouble nValue); static sal_Int32 Floor (constdouble nValue); static sal_Int32 Ceil (constdouble nValue);
/** Return the bounding box with integer coordinates of the given rectangle.Notethatduetodifferentroundingoftheleft/topand theright/bottomborderthewidthoftheresultingrectanglemay differfordifferentpositionsbutconstantwidthandheight.
*/ static css::awt::Rectangle ConvertRectangle ( const css::geometry::RealRectangle2D& rBox);
/** Convert the given rectangle to integer coordinates so that width and heightremainconstantwhenonlythepositionchanges.
*/ static css::awt::Rectangle ConvertRectangleWithConstantSize ( const css::geometry::RealRectangle2D& rBox);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.