:: com :: sun :: star :: awt ::

unpublished interface XUnitConversion
Description
allows converting between different measurement units

Methods' Summary
convertPointToLogic converts the given Point, which is specified in pixels, into the given logical unit  
convertPointToPixel converts the given Point, which is specified in the given logical unit, into pixels  
convertSizeToLogic converts the given Size, which is specified in pixels, into the given logical unit  
convertSizeToPixel converts the given Size, which is specified in the given logical unit, into pixels  
Methods' Details
convertPointToLogic
Point
convertPointToLogic( [in] Point  aPoint,
[in] short  TargetUnit )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
converts the given Point, which is specified in pixels, into the given logical unit
convertPointToPixel
Point
convertPointToPixel( [in] Point  aPoint,
[in] short  SourceUnit )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
converts the given Point, which is specified in the given logical unit, into pixels
convertSizeToLogic
Size
convertSizeToLogic( [in] Size  aSize,
[in] short  TargetUnit )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
converts the given Size, which is specified in pixels, into the given logical unit
convertSizeToPixel
Size
convertSizeToPixel( [in] Size  aSize,
[in] short  SourceUnit )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
converts the given Size, which is specified in the given logical unit, into pixels
Top of Page