21module
com { module sun { module star { module rendering {
26interface XGraphicDevice;
27interface XPolyPolygon2D;
62 void selectFont( [in]
string sFontName, [in]
double size, [in]
boolean bold, [in]
boolean italic );
137 [in]
byte nTextDirection );
This is a generic interface to a bitmap.
Definition XBitmap.idl:33
This interface provides access to a specific, XCanvas-dependent font incarnation.
Definition XCanvasFont.idl:32
Central interface for rendering.
Definition XCanvas.idl:96
This interface provides access to a graphic device, such as a printer, or a screen device.
Definition XGraphicDevice.idl:47
Generic interface for poly-polygons in 2D.
Definition XPolyPolygon2D.idl:27
Provides the basic graphical output operations for a canvas.
Definition XSimpleCanvas.idl:42
XCanvasFont getCurrentFont()
Retrieve currently selected font.
XCanvas getCanvas()
Query the underlying XCanvas.
com::sun::star::geometry::RealRectangle2D getCurrentClipRect()
Retrieve current clip rect.
void drawPixel([in] ::com::sun::star::geometry::RealPoint2D aPoint)
Sets a single pixel on the canvas.
void drawLine([in] ::com::sun::star::geometry::RealPoint2D aStartPoint, [in] ::com::sun::star::geometry::RealPoint2D aEndPoint)
Draws a line on the canvas.
void selectFont([in] string sFontName, [in]double size, [in] boolean bold, [in] boolean italic)
Select a font.
com::sun::star::util::Color getCurrentPenColor()
Retrieve color currently used for lines.
void drawRect([in] ::com::sun::star::geometry::RealRectangle2D aRect)
Draws a rectangle on the canvas.
void setRectClip([in] ::com::sun::star::geometry::RealRectangle2D aRect)
Sets the clip to the specified rectangle.
RenderState getCurrentRenderState([in] boolean bUseFillColor)
Retrieve render state.
FontMetrics getFontMetrics()
Request the font metrics of the current font.
XGraphicDevice getDevice()
Request the associated graphic device for this canvas.
void drawPolyPolygon([in] XPolyPolygon2D xPolyPolygon)
Draws a poly-polygon on the canvas.
com::sun::star::util::Color getCurrentFillColor()
Retrieve color currently used for fills.
void setFillColor([in] com::sun::star::util::Color nsRgbaColor)
Sets the fill color.
void drawText([in] StringContext aText, [in] ::com::sun::star::geometry::RealPoint2D aOutPos, [in] byte nTextDirection)
Draws text on the canvas.
void drawBitmap([in] XBitmap xBitmap, [in] ::com::sun::star::geometry::RealPoint2D aLeftTop)
Draws the bitmap on the canvas.
void setTransformation([in] ::com::sun::star::geometry::AffineMatrix2D aTransform)
Set the current transform matrix.
ViewState getCurrentViewState()
Retrieve view state.
void setPenColor([in] com::sun::star::util::Color nsRgbaColor)
Sets the color used by line and text operations.
com::sun::star::geometry::AffineMatrix2D getCurrentTransformation()
Retrieve current transformation matrix.
base interface of all UNO interfaces
Definition generated_idl_chapter_refs.idl:452
long Color
describes an RGB color value with an optional alpha channel.
Definition Color.idl:34
Definition Ambiguous.idl:20
This structure defines a 2 by 3 affine matrix.
Definition AffineMatrix2D.idl:61
This structure defines a two-dimensional point.
Definition RealPoint2D.idl:30
This structure contains the necessary information for a two-dimensional rectangle.
Definition RealRectangle2D.idl:41
Metrics global to the font, i.e.
Definition FontMetrics.idl:45
This structure contains information passed to each XCanvas render operation.
Definition RenderState.idl:34
Collection of string-related arguments used on all canvas text interfaces.
Definition StringContext.idl:32
This structure contains information considered the view state.
Definition ViewState.idl:33