LibreOffice
LibreOffice 24.8 SDK API Reference
XGraphicDevice.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 module com { module sun { module star { module rendering {
21 
22 interface XBitmap;
23 interface XVolatileBitmap;
24 interface XBufferController;
25 
26 /* TODO: There's obviously a concept called window missing here, where
27  methods such as bufferController, fullscreen mode etc . belong
28  to. But see below
29  */
30 
47 {
55 
56 
63 
64 
74 
75 
86 
87 
94  XLinePolyPolygon2D createCompatibleLinePolyPolygon( [in] sequence< sequence< ::com::sun::star::geometry::RealPoint2D > > points );
95 
96 
103  XBezierPolyPolygon2D createCompatibleBezierPolyPolygon( [in] sequence< sequence< ::com::sun::star::geometry::RealBezierSegment2D > > points );
104 
105 
115 
116 
134 
135 
145 
146 
165 
166 
234 
235 
239  boolean hasFullScreenMode();
240 
241 
249  boolean enterFullScreenMode( [in] boolean bEnter );
250 };
251 
252 }; }; }; };
253 
254 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:27
Allows creating instances specified by a string name.
Definition: XMultiServiceFactory.idl:34
This is a specialized interface for a 2D poly-polygon containing straight line and Bezier segments.
Definition: XBezierPolyPolygon2D.idl:37
This is a generic interface to a bitmap.
Definition: XBitmap.idl:33
Interface providing access to double/multi-buffer facilities of screen devices.
Definition: XBufferController.idl:31
Information how to interpret certain color data.
Definition: XColorSpace.idl:38
This interface provides access to a graphic device, such as a printer, or a screen device.
Definition: XGraphicDevice.idl:47
com::sun::star::lang::XMultiServiceFactory getParametricPolyPolygonFactory()
Get a reference to this device's parametric polygon factory.
XLinePolyPolygon2D createCompatibleLinePolyPolygon([in] sequence< sequence< ::com::sun::star::geometry::RealPoint2D > > points)
Create a line poly-polygon which can internally use device-optimized representations already.
::com::sun::star::geometry::RealSize2D getPhysicalSize()
Query the physical dimensions of the device in millimeter.
XVolatileBitmap createVolatileAlphaBitmap([in] ::com::sun::star::geometry::IntegerSize2D size)
Create a volatile bitmap with alpha channel that is usable with this graphic device.
XBitmap createCompatibleBitmap([in] ::com::sun::star::geometry::IntegerSize2D size)
Create a bitmap whose memory layout and sample model is compatible to the graphic device.
XVolatileBitmap createVolatileBitmap([in] ::com::sun::star::geometry::IntegerSize2D size)
Create a volatile bitmap that is usable with this graphic device.
XColorSpace getDeviceColorSpace()
Query the color space interface for this graphic device.
::com::sun::star::geometry::RealSize2D getPhysicalResolution()
Query the physical resolution of the device in pixel per millimeter.
XBitmap createCompatibleAlphaBitmap([in] ::com::sun::star::geometry::IntegerSize2D size)
Create a bitmap with alpha channel whose memory layout and sample model is compatible to the graphic ...
boolean hasFullScreenMode()
Tells whether this graphic device has a full screen mode, i.e.
boolean enterFullScreenMode([in] boolean bEnter)
Enter or leave the fullscreen mode, if possible.
XBufferController getBufferController()
Query the controller for multi buffering functionality on this graphic device.
XBezierPolyPolygon2D createCompatibleBezierPolyPolygon([in] sequence< sequence< ::com::sun::star::geometry::RealBezierSegment2D > > points)
Create a Bezier poly-polygon which can internally use device-optimized representations already.
Specialized interface for a 2D poly-polygon containing only straight line segments.
Definition: XLinePolyPolygon2D.idl:27
This is a specialized interface to a volatile bitmap (which can become invalid at any point in time).
Definition: XVolatileBitmap.idl:26
base interface of all UNO interfaces
Definition: XInterface.idl:46
Definition: Ambiguous.idl:20
This structure contains data representing a two-dimensional size.
Definition: IntegerSize2D.idl:29
This structure contains data representing a two-dimensional size.
Definition: RealSize2D.idl:29