LibreOffice
LibreOffice 6.4 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 #ifndef __com_sun_star_rendering_XGraphicDevice_idl__
20 #define __com_sun_star_rendering_XGraphicDevice_idl__
21 
30 
31 module com { module sun { module star { module rendering {
32 
33 interface XBitmap;
34 interface XVolatileBitmap;
35 interface XBufferController;
36 
37 /* TODO: There's obviously a concept called window missing here, where
38  methods such as bufferController, fullscreen mode etc . belong
39  to. But see below
40  */
41 
58 {
65  XBufferController getBufferController();
66 
67 
73  XColorSpace getDeviceColorSpace();
74 
75 
84  ::com::sun::star::geometry::RealSize2D getPhysicalResolution();
85 
86 
97 
98 
105  XLinePolyPolygon2D createCompatibleLinePolyPolygon( [in] sequence< sequence< ::com::sun::star::geometry::RealPoint2D > > points );
106 
107 
114  XBezierPolyPolygon2D createCompatibleBezierPolyPolygon( [in] sequence< sequence< ::com::sun::star::geometry::RealBezierSegment2D > > points );
115 
116 
124  XBitmap createCompatibleBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size )
126 
127 
143  XVolatileBitmap createVolatileBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size )
145 
146 
154  XBitmap createCompatibleAlphaBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size )
156 
157 
174  XVolatileBitmap createVolatileAlphaBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size )
176 
177 
244  com::sun::star::lang::XMultiServiceFactory getParametricPolyPolygonFactory();
245 
246 
250  boolean hasFullScreenMode();
251 
252 
260  boolean enterFullScreenMode( [in] boolean bEnter );
261 };
262 
263 }; }; }; };
264 
265 #endif
266 
267 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Allows creating instances specified by a string name.
Definition: XMultiServiceFactory.idl:39
This structure contains data representing a two-dimensional size.
Definition: RealSize2D.idl:30
This structure contains data representing a two-dimensional size.
Definition: IntegerSize2D.idl:30
This is a specialized interface to a volatile bitmap (which can become invalid at any point in time)...
Definition: XVolatileBitmap.idl:29
Definition: Ambiguous.idl:22
This is a generic interface to a bitmap.
Definition: XBitmap.idl:40
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
This is a specialized interface for a 2D poly-polygon containing straight line and Bezier segments...
Definition: XBezierPolyPolygon2D.idl:43
Interface providing access to double/multi-buffer facilities of screen devices.
Definition: XBufferController.idl:35
This interface provides access to a graphic device, such as a printer, or a screen device...
Definition: XGraphicDevice.idl:57
base interface of all UNO interfaces
Definition: XInterface.idl:47
Information how to interpret certain color data.
Definition: XColorSpace.idl:47
Specialized interface for a 2D poly-polygon containing only straight line segments.
Definition: XLinePolyPolygon2D.idl:33