21module
com { module sun { module star { module awt {
23published
interface XRegion;
24published
interface XDisplayBitmap;
25published
interface XFont;
26published
interface XDevice;
94 [in]
long nSourceWidth,
95 [in]
long nSourceHeight,
99 [in]
long nDestHeight );
106 [in]
long SourceWidth,
107 [in]
long SourceHeight,
111 [in]
long DestHeight );
138 [in]
long nHorzRound,
139 [in]
long nVertRound );
144 [in] sequence<long> DataY );
149 [in] sequence<long> DataY );
154 [in] sequence< sequence<long> > DataY );
219 [in] sequence<long> Longs );
provides information about a graphical output device and offers a factory for the graphics which prov...
Definition XDevice.idl:34
specifies an object as a bitmap for which data is formatted for a specific output device.
Definition XDisplayBitmap.idl:31
describes a font on a specific device.
Definition XFont.idl:30
provides the basic output operation of a device.
Definition XGraphics.idl:32
void setTextColor([in] com::sun::star::util::Color nColor)
sets the text color used by text operations.
void intersectClipRegion([in] XRegion xClipping)
builds the intersection with the current region.
void drawPolyPolygon([in] sequence< sequence< long > > DataX, [in] sequence< sequence< long > > DataY)
draws multiple polygons in the output device at once.
void setFillColor([in] com::sun::star::util::Color nColor)
sets the fill color.
void selectFont([in] FontDescriptor aDescription)
creates a new font and sets the font.
void setClipRegion([in] XRegion Clipping)
sets the clip region to specified clipping.
void pop()
restores all previous saved settings.
void drawText([in] long X, [in] long Y, [in] string Text)
draws text in the output device.
void draw([in] XDisplayBitmap xBitmapHandle, [in] long SourceX, [in] long SourceY, [in] long SourceWidth, [in] long SourceHeight, [in] long DestX, [in] long DestY, [in] long DestWidth, [in] long DestHeight)
draws a part of the specified bitmap to the output device.
void drawPolyLine([in] sequence< long > DataX, [in] sequence< long > DataY)
draws multiple lines in the output device at once.
void drawPolygon([in] sequence< long > DataX, [in] sequence< long > DataY)
draws a polygon line in the output device.
void drawTextArray([in] long X, [in] long Y, [in] string Text, [in] sequence< long > Longs)
draws texts in the output device using an explicit kerning table.
void drawPie([in] long X, [in] long Y, [in] long Width, [in] long Height, [in] long X1, [in] long Y1, [in] long X2, [in] long Y2)
draws a circular area in the output device.
XDevice getDevice()
returns the device of this graphics.
void drawGradient([in] long nX, [in] long nY, [in] long nWidth, [in] long Height, [in] Gradient aGradient)
draws a color dispersion in the output device.
void setLineColor([in] com::sun::star::util::Color nColor)
sets the line color.
void drawLine([in] long X1, [in] long Y1, [in] long X2, [in] long Y2)
draws a line in the output device.
void drawArc([in] long X, [in] long Y, [in] long Width, [in] long Height, [in] long X1, [in] long Y1, [in] long X2, [in] long Y2)
draws an arc (part of a circle) in the output device.
void push()
saves all current settings (Font, TextColor, TextFillColor, LineColor, FillColor, RasterOp,...
void setTextFillColor([in] com::sun::star::util::Color nColor)
sets the fill color used by text operations.
void setFont([in] XFont xNewFont)
sets the font used by text operations.
void setRasterOp([in] RasterOperation ROP)
sets the raster operation.
void drawRect([in] long X, [in] long Y, [in] long Width, [in] long Height)
draws a rectangle in the output device.
void drawRoundedRect([in] long X, [in] long Y, [in] long Width, [in] long Height, [in] long nHorzRound, [in] long nVertRound)
draws a rectangle with rounded corners in the output device.
void copy([in] XDevice xSource, [in] long nSourceX, [in] long nSourceY, [in] long nSourceWidth, [in] long nSourceHeight, [in] long nDestX, [in] long nDestY, [in] long nDestWidth, [in] long nDestHeight)
copies a rectangle of pixels from another device into this one.
SimpleFontMetric getFontMetric()
returns the font metric of the current font.
void drawChord([in] long nX, [in] long nY, [in] long nWidth, [in] long nHeight, [in] long nX1, [in] long nY1, [in] long nX2, [in] long nY2)
draws a chord of a circular area in the output device.
void drawEllipse([in] long X, [in] long Y, [in] long Width, [in] long Height)
draws an ellipse in the output device.
void drawPixel([in] long X, [in] long Y)
sets a single pixel in the output device.
manages multiple rectangles which make up a region.
Definition XRegion.idl:28
base interface of all UNO interfaces
Definition XInterface.idl:46
RasterOperation
These values are used to specify the binary pixel-operation applied when pixels are written to the de...
Definition RasterOperation.idl:29
long Color
describes an RGB color value with an optional alpha channel.
Definition Color.idl:34
Definition Ambiguous.idl:20
describes the characteristics of a font.
Definition FontDescriptor.idl:30
Describes a gradient between two colors.
Definition Gradient.idl:30
describes the general metrics of a certain font.
Definition SimpleFontMetric.idl:28