LibreOffice
LibreOffice 7.4 SDK API Reference
Exported Interfaces | List of all members
BitmapCanvas Service Reference

This service provides the interfaces for a XBitmapCanvas. More...

import"BitmapCanvas.idl";

Inheritance diagram for BitmapCanvas:
XBitmapCanvas XBitmap XCanvas XInterface XInterface

Exported Interfaces

interface XBitmapCanvas
 Canvas interface, to issue rendering operations. More...
 
interface XBitmap
 Bitmap interface, to directly manipulate the pixel. More...
 

Additional Inherited Members

- Public Member Functions inherited from XBitmapCanvas
void copyRect ([in] XBitmapCanvas sourceCanvas, [in] ::com::sun::star::geometry::RealRectangle2D sourceRect, [in] ViewState sourceViewState, [in] RenderState sourceRenderState, [in] ::com::sun::star::geometry::RealRectangle2D destRect, [in] ViewState destViewState, [in] RenderState destRenderState) raises (com::sun::star::lang::IllegalArgumentException, VolatileContentDestroyedException)
 This method copies a rectangular area from a place of one canvas to a place on another. More...
 
- Public Member Functions inherited from XCanvas
void clear ()
 Clear the whole canvas area. More...
 
void drawPoint ([in] ::com::sun::star::geometry::RealPoint2D aPoint, [in] ViewState aViewState, [in] RenderState aRenderState) raises (com::sun::star::lang::IllegalArgumentException)
 Draw a point in device resolution on the device. More...
 
void drawLine ([in] ::com::sun::star::geometry::RealPoint2D aStartPoint, [in] ::com::sun::star::geometry::RealPoint2D aEndPoint, [in] ViewState aViewState, [in] RenderState aRenderState) raises (com::sun::star::lang::IllegalArgumentException)
 Draw a line in device resolution width (i.e. More...
 
void drawBezier ([in] ::com::sun::star::geometry::RealBezierSegment2D aBezierSegment, [in] ::com::sun::star::geometry::RealPoint2D aEndPoint, [in] ViewState aViewState, [in] RenderState aRenderState) raises (com::sun::star::lang::IllegalArgumentException)
 Draw a cubic Bezier curve in device resolution width (i.e. More...
 
XCachedPrimitive drawPolyPolygon ([in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState) raises (com::sun::star::lang::IllegalArgumentException)
 Draw a poly-polygon in device resolution line width (i.e. More...
 
XCachedPrimitive strokePolyPolygon ([in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] StrokeAttributes aStrokeAttributes) raises (com::sun::star::lang::IllegalArgumentException)
 Stroke each polygon of the provided poly-polygon with the specified stroke attributes. More...
 
XCachedPrimitive strokeTexturedPolyPolygon ([in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] sequence< Texture > aTextures, [in] StrokeAttributes aStrokeAttributes) raises (com::sun::star::lang::IllegalArgumentException, VolatileContentDestroyedException)
 Stroke each polygon of the provided poly-polygon with the specified stroke attributes, fill the stroked outline with the specified texture graphics. More...
 
XCachedPrimitive strokeTextureMappedPolyPolygon ([in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] sequence< Texture > aTextures, [in] ::com::sun::star::geometry::XMapping2D xMapping, [in] StrokeAttributes aStrokeAttributes) raises (com::sun::star::lang::IllegalArgumentException, VolatileContentDestroyedException)
 Stroke each polygon of the provided poly-polygon with the specified stroke attributes, fill the stroked outline with the specified texture graphics, map the texture to the outline via the specified texture mapping. More...
 
XPolyPolygon2D queryStrokeShapes ([in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] StrokeAttributes aStrokeAttributes) raises (com::sun::star::lang::IllegalArgumentException)
 Query the polygonal representation of the stroke outlines, as it would be generated by the strokePolyPolygon methods. More...
 
XCachedPrimitive fillPolyPolygon ([in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState) raises (com::sun::star::lang::IllegalArgumentException)
 Fill the given poly-polygon. More...
 
XCachedPrimitive fillTexturedPolyPolygon ([in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] sequence< Texture > xTextures) raises (com::sun::star::lang::IllegalArgumentException, VolatileContentDestroyedException)
 Fill the given poly-polygon with a texture. More...
 
XCachedPrimitive fillTextureMappedPolyPolygon ([in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] sequence< Texture > xTextures, [in] ::com::sun::star::geometry::XMapping2D xMapping) raises (com::sun::star::lang::IllegalArgumentException, VolatileContentDestroyedException)
 Fill the given poly-polygon with a mapped texture. More...
 
XCanvasFont createFont ([in] FontRequest aFontRequest, [in] sequence< ::com::sun::star::beans::PropertyValue > aExtraFontProperties, [in] ::com::sun::star::geometry::Matrix2D aFontMatrix) raises (com::sun::star::lang::IllegalArgumentException)
 Create a suitable font for the specified font description. More...
 
sequence< FontInfoqueryAvailableFonts ([in] FontInfo aFilter, [in] sequence< ::com::sun::star::beans::PropertyValue > aFontProperties) raises (com::sun::star::lang::IllegalArgumentException)
 Query font information, specific to this canvas. More...
 
XCachedPrimitive drawText ([in] StringContext aText, [in] XCanvasFont xFont, [in] ViewState aViewState, [in] RenderState aRenderState, [in] byte nTextDirection) raises (com::sun::star::lang::IllegalArgumentException)
 Draw the text given by the substring of the specified string with the given font. More...
 
XCachedPrimitive drawTextLayout ([in] XTextLayout xLayoutetText, [in] ViewState aViewState, [in] RenderState aRenderState) raises (com::sun::star::lang::IllegalArgumentException)
 Draw the formatted text given by the text layout. More...
 
XCachedPrimitive drawBitmap ([in] XBitmap xBitmap, [in] ViewState aViewState, [in] RenderState aRenderState) raises (com::sun::star::lang::IllegalArgumentException, VolatileContentDestroyedException)
 Render the given bitmap. More...
 
XCachedPrimitive drawBitmapModulated ([in] XBitmap xBitmap, [in] ViewState aViewState, [in] RenderState aRenderState) raises (com::sun::star::lang::IllegalArgumentException, VolatileContentDestroyedException)
 Render the given bitmap, with a global color modulation. More...
 
XGraphicDevice getDevice ()
 Request the associated graphic device for this canvas. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 
- Public Member Functions inherited from XBitmap
::com::sun::star::geometry::IntegerSize2D getSize ()
 Query the size of the bitmap. More...
 
boolean hasAlpha ()
 Query transparency status of the bitmap. More...
 
XBitmap getScaledBitmap ([in] ::com::sun::star::geometry::RealSize2D newSize, [in] boolean beFast) raises (com::sun::star::lang::IllegalArgumentException, VolatileContentDestroyedException)
 Query a scaled copy of the original bitmap. More...
 

Detailed Description

This service provides the interfaces for a XBitmapCanvas.

Exported Interfaces

◆ XBitmap

interface XBitmap

Bitmap interface, to directly manipulate the pixel.

◆ XBitmapCanvas

interface XBitmapCanvas

Canvas interface, to issue rendering operations.


The documentation for this service was generated from the following file: