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 {
66 
67 
74 
75 
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 
126 
127 
145 
146 
156 
157 
176 
177 
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: */
com::sun::star::rendering::XGraphicDevice::createCompatibleAlphaBitmap
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 ...
XInterface.idl
com::sun::star::rendering::XGraphicDevice::getParametricPolyPolygonFactory
com::sun::star::lang::XMultiServiceFactory getParametricPolyPolygonFactory()
Get a reference to this device's parametric polygon factory.
com::sun::star::geometry::RealSize2D
This structure contains data representing a two-dimensional size.
Definition: RealSize2D.idl:31
com::sun::star::rendering::XGraphicDevice::createVolatileBitmap
XVolatileBitmap createVolatileBitmap([in] ::com::sun::star::geometry::IntegerSize2D size)
Create a volatile bitmap that is usable with this graphic device.
com::sun::star::rendering::XColorSpace
Information how to interpret certain color data.
Definition: XColorSpace.idl:48
XMultiServiceFactory.idl
com::sun::star::rendering::XGraphicDevice::createCompatibleBitmap
XBitmap createCompatibleBitmap([in] ::com::sun::star::geometry::IntegerSize2D size)
Create a bitmap whose memory layout and sample model is compatible to the graphic device.
com::sun::star::rendering::XBufferController
Interface providing access to double/multi-buffer facilities of screen devices.
Definition: XBufferController.idl:36
IntegerSize2D.idl
com::sun::star::rendering::XBezierPolyPolygon2D
This is a specialized interface for a 2D poly-polygon containing straight line and Bezier segments.
Definition: XBezierPolyPolygon2D.idl:44
XBezierPolyPolygon2D.idl
RealSize2D.idl
com::sun::star::rendering::XVolatileBitmap
This is a specialized interface to a volatile bitmap (which can become invalid at any point in time).
Definition: XVolatileBitmap.idl:30
com::sun::star::rendering::XGraphicDevice::hasFullScreenMode
boolean hasFullScreenMode()
Tells whether this graphic device has a full screen mode, i.e.
com::sun::star::rendering::XGraphicDevice::getBufferController
XBufferController getBufferController()
Query the controller for multi buffering functionality on this graphic device.
com::sun::star::rendering::XGraphicDevice::getPhysicalSize
::com::sun::star::geometry::RealSize2D getPhysicalSize()
Query the physical dimensions of the device in millimeter.
com::sun::star::rendering::XBitmap
This is a generic interface to a bitmap.
Definition: XBitmap.idl:41
XLinePolyPolygon2D.idl
com::sun::star::rendering::XGraphicDevice::createVolatileAlphaBitmap
XVolatileBitmap createVolatileAlphaBitmap([in] ::com::sun::star::geometry::IntegerSize2D size)
Create a volatile bitmap with alpha channel that is usable with this graphic device.
XColorSpace.idl
com::sun::star::rendering::XGraphicDevice::enterFullScreenMode
boolean enterFullScreenMode([in] boolean bEnter)
Enter or leave the fullscreen mode, if possible.
com::sun::star::rendering::XGraphicDevice::getPhysicalResolution
::com::sun::star::geometry::RealSize2D getPhysicalResolution()
Query the physical resolution of the device in pixel per millimeter.
com::sun::star::geometry::IntegerSize2D
This structure contains data representing a two-dimensional size.
Definition: IntegerSize2D.idl:31
com::sun::star::rendering::XGraphicDevice
This interface provides access to a graphic device, such as a printer, or a screen device.
Definition: XGraphicDevice.idl:58
com
Definition: Ambiguous.idl:22
com::sun::star::rendering::XGraphicDevice::createCompatibleLinePolyPolygon
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::rendering::XGraphicDevice::getDeviceColorSpace
XColorSpace getDeviceColorSpace()
Query the color space interface for this graphic device.
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
com::sun::star::rendering::XLinePolyPolygon2D
Specialized interface for a 2D poly-polygon containing only straight line segments.
Definition: XLinePolyPolygon2D.idl:34
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
IllegalArgumentException.idl
com::sun::star::lang::XMultiServiceFactory
Allows creating instances specified by a string name.
Definition: XMultiServiceFactory.idl:40
com::sun::star::rendering::XGraphicDevice::createCompatibleBezierPolyPolygon
XBezierPolyPolygon2D createCompatibleBezierPolyPolygon([in] sequence< sequence< ::com::sun::star::geometry::RealBezierSegment2D > > points)
Create a Bezier poly-polygon which can internally use device-optimized representations already.