LibreOffice
LibreOffice 7.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#ifndef __com_sun_star_rendering_XGraphicDevice_idl__
20#define __com_sun_star_rendering_XGraphicDevice_idl__
21
30
31module com { module sun { module star { module rendering {
32
33interface XBitmap;
34interface XVolatileBitmap;
35interface 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
251
252
260 boolean enterFullScreenMode( [in] boolean bEnter );
261};
262
263}; }; }; };
264
265#endif
266
267/* 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:31
Allows creating instances specified by a string name.
Definition: XMultiServiceFactory.idl:40
This is a specialized interface for a 2D poly-polygon containing straight line and Bezier segments.
Definition: XBezierPolyPolygon2D.idl:44
This is a generic interface to a bitmap.
Definition: XBitmap.idl:41
Interface providing access to double/multi-buffer facilities of screen devices.
Definition: XBufferController.idl:36
Information how to interpret certain color data.
Definition: XColorSpace.idl:48
This interface provides access to a graphic device, such as a printer, or a screen device.
Definition: XGraphicDevice.idl:58
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:34
This is a specialized interface to a volatile bitmap (which can become invalid at any point in time).
Definition: XVolatileBitmap.idl:30
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Accessible.idl:22
This structure contains data representing a two-dimensional size.
Definition: IntegerSize2D.idl:31
This structure contains data representing a two-dimensional size.
Definition: RealSize2D.idl:31