LibreOffice LibreOffice 25.2 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
20module 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
46 interface XGraphicDevice : ::com::sun::star::uno::XInterface
47{
54 XBufferController getBufferController();
55
56
62 XColorSpace getDeviceColorSpace();
63
64
73 ::com::sun::star::geometry::RealSize2D getPhysicalResolution();
74
75
85 ::com::sun::star::geometry::RealSize2D getPhysicalSize();
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
113 XBitmap createCompatibleBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size )
114 raises (com::sun::star::lang::IllegalArgumentException);
115
116
132 XVolatileBitmap createVolatileBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size )
133 raises (com::sun::star::lang::IllegalArgumentException);
134
135
143 XBitmap createCompatibleAlphaBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size )
144 raises (com::sun::star::lang::IllegalArgumentException);
145
146
163 XVolatileBitmap createVolatileAlphaBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size )
164 raises (com::sun::star::lang::IllegalArgumentException);
165
166
233 com::sun::star::lang::XMultiServiceFactory getParametricPolyPolygonFactory();
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: */
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:27
com::sun::star::lang::XMultiServiceFactory
Allows creating instances specified by a string name.
Definition: XMultiServiceFactory.idl:34
com::sun::star::rendering::XBezierPolyPolygon2D
This is a specialized interface for a 2D poly-polygon containing straight line and Bezier segments.
Definition: XBezierPolyPolygon2D.idl:37
com::sun::star::rendering::XBitmap
This is a generic interface to a bitmap.
Definition: XBitmap.idl:33
com::sun::star::rendering::XBufferController
Interface providing access to double/multi-buffer facilities of screen devices.
Definition: XBufferController.idl:31
com::sun::star::rendering::XColorSpace
Information how to interpret certain color data.
Definition: XColorSpace.idl:38
com::sun::star::rendering::XGraphicDevice
This interface provides access to a graphic device, such as a printer, or a screen device.
Definition: XGraphicDevice.idl:47
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::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::getPhysicalSize
::com::sun::star::geometry::RealSize2D getPhysicalSize()
Query the physical dimensions of the device in millimeter.
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.
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::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::XGraphicDevice::getDeviceColorSpace
XColorSpace getDeviceColorSpace()
Query the color space interface for this graphic device.
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::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 ...
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::enterFullScreenMode
boolean enterFullScreenMode([in] boolean bEnter)
Enter or leave the fullscreen mode, if possible.
com::sun::star::rendering::XGraphicDevice::getBufferController
XBufferController getBufferController()
Query the controller for multi buffering functionality on this graphic device.
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.
com::sun::star::rendering::XLinePolyPolygon2D
Specialized interface for a 2D poly-polygon containing only straight line segments.
Definition: XLinePolyPolygon2D.idl:27
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:26
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com
Definition: Ambiguous.idl:20
com::sun::star::geometry::IntegerSize2D
This structure contains data representing a two-dimensional size.
Definition: IntegerSize2D.idl:29
com::sun::star::geometry::RealSize2D
This structure contains data representing a two-dimensional size.
Definition: RealSize2D.idl:29