Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: graphic ::

unpublished interface XPrimitive2DRenderer
Usage Restrictions
not published
Description
XPrimitive2DRenderer interface This interface allows to convert from a sequence of XPrimitive2Ds to a XBitmap

Methods' Summary
rasterize return rasterized version of given XPrimitive2D  
Methods' Details
rasterize
::com::sun::star::rendering::XBitmap
rasterize( [in] sequence< XPrimitive2D >  Primitive2DSequence,
[in] sequence< ::com::sun::star::beans::PropertyValue >  aViewInformationSequence,
[in] unsigned long  DPI_X,
[in] unsigned long  DPI_Y,
[in] ::com::sun::star::geometry::RealRectangle2D  Range,
[in] unsigned long  MaximumQuadraticPixels );

Description
return rasterized version of given XPrimitive2D
Parameter Primitive2DSequence
The graphic content description
Parameter aViewInformationSequence
The ViewInformation2D
Parameter DPI_X
The horizontal resolution of the callers device in pixel per inch. This value is needed to calculate the correct dimensions of the graphic to be rasterized. If a value of 0 is given, a horizontal default resolution of 72 DPI is used.
Parameter DPI_Y
The vertical resolution of the callers device in pixel per inch. This value is needed to calculate the correct dimensions of the graphic to be rasterized. If a value of 0 is given, a vertical default resolution of 72 DPI is used.
Parameter Range
The range in 1/100th mm of the graphic to be rasterized
Parameter MaximumQuadraticPixels
The maximum allowed number of pixels to be used to allow limiting the possible size of used pixels. The AspectRatio is preserved, the result gets limited to given number. If a value of 0 is given, a default of 500000 is used.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.