:: com :: sun :: star :: awt ::
|
unpublished |
interface XUnitConversion |
|
|
|
- Usage Restrictions
- not published
- Description
- allows converting between different measurement units
- Since
- OOo 3.0
|
Methods' Details |
convertPointToLogic
- Description
- converts the given Point, which is specified in pixels, into the given logical unit
- Parameter Point
- A given Point in a well known type
- Parameter TargetUnit
- A type from ::com::sun::star::util::MeasureUnit in which the Point will convert to.
- Returns
- Returns a new Point in the TargetUnit type format.
|
|
convertPointToPixel
- Description
- converts the given Point, which is specified in the given logical unit, into pixels
- Parameter Point
- A given Point in the SourceUnit type
- Parameter SourceUnit
- The type from ::com::sun::star::util::MeasureUnit of the Point.
- Returns
- Return a new Point in Pixel type format.
|
|
convertSizeToLogic
- Description
- converts the given Size, which is specified in pixels, into the given logical unit
- Parameter aSize
- A given Size in a well known type
- Parameter TargetUnit
- A type from ::com::sun::star::util::MeasureUnit in which the Size will convert to.
- Returns
- Returns a new Size in the TargetUnit type format.
|
|
convertSizeToPixel
- Description
- converts the given Size, which is specified in the given logical unit, into pixels
- Parameter Size
- A given Size in a well known type
- Parameter TargetUnit
- The type from ::com::sun::star::util::MeasureUnit of the Size.
- Returns
- Returns a new Size in the TargetUnit type format.
|
|
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.