LibreOffice
LibreOffice 7.4 SDK API Reference
XIntegerReadOnlyBitmap.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_XIntegerReadOnlyBitmap_idl__
20 #define __com_sun_star_rendering_XIntegerReadOnlyBitmap_idl__
21 
29 
30 
31 module com { module sun { module star { module rendering {
32 
33 interface XBitmapPalette;
34 
53 {
86  sequence<byte> getData( [out] IntegerBitmapLayout bitmapLayout, [in] ::com::sun::star::geometry::IntegerRectangle2D rect )
89 
90 
121  sequence<byte> getPixel( [out] IntegerBitmapLayout bitmapLayout, [in] ::com::sun::star::geometry::IntegerPoint2D pos )
124 
125 
132 };
133 
134 }; }; }; };
135 
136 #endif
137 
138 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a container has been accessed with an illegal index.
Definition: IndexOutOfBoundsException.idl:35
This exception indicates an invalid volatile bitmap content.
Definition: VolatileContentDestroyedException.idl:34
This is a generic interface to a bitmap.
Definition: XBitmap.idl:41
This is a specialized interface for bitmaps having integer color channels.
Definition: XIntegerReadOnlyBitmap.idl:53
IntegerBitmapLayout getMemoryLayout()
Query the memory layout for this bitmap.
sequence< byte > getData([out] IntegerBitmapLayout bitmapLayout, [in] ::com::sun::star::geometry::IntegerRectangle2D rect)
Query the raw data of this bitmap.
sequence< byte > getPixel([out] IntegerBitmapLayout bitmapLayout, [in] ::com::sun::star::geometry::IntegerPoint2D pos)
Get a single pixel of the bitmap, returning its color value.
Definition: Ambiguous.idl:22
This structure defines a two-dimensional point.
Definition: IntegerPoint2D.idl:32
This structure contains the necessary information for a two-dimensional rectangle.
Definition: IntegerRectangle2D.idl:43
This structure describes the memory layout of a bitmap having integer color channels.
Definition: IntegerBitmapLayout.idl:36