1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef com_sun_star_chart2_FillBitmap_idl
20 #define com_sun_star_chart2_FillBitmap_idl
22 #include
<com
/sun
/star
/awt
/Point.idl
>
23 #include
<com
/sun
/star
/awt
/Size.idl
>
24 #include
<com
/sun
/star
/drawing
/BitmapMode.idl
>
25 #include
<com
/sun
/star
/drawing
/RectanglePoint.idl
>
37 /** This structure contains all properties of a bitmap when used as
40 @see com::sun::star::drawing::FillProperties
44 /** a URL to the bitmap used. This may be an internal URL of the
49 /** This is the horizontal and vertical offset where the tile
52 <p>It is given in percent in relation to the width of the
55 com
::sun
::star
::awt
::Point aOffset
;
57 /** Every second line (X) / row (Y) of tiles is moved the given
58 percent of the width of the bitmap.
60 com
::sun
::star
::awt
::Point aPositionOffset
;
62 /** The RectanglePoint specifies the position inside of the bitmap
63 to use as the top left position for rendering.
65 com
::sun
::star
::drawing
::RectanglePoint aRectanglePoint
;
67 /** specifies if the size is given in percentage or as an absolute
70 <p>If this is `TRUE`, the properties SizeX and
71 SizeY contain the size of the tile in percent of the
72 size of the original bitmap. If this is `FALSE`, the size of
73 the tile is specified with 1/100th mm.</p>
77 /** This is the size of the tile for filling.
79 <p>Depending on the property LogicalSize, this is
80 either relative or absolute.</p>
82 com
::sun
::star
::awt
::Size aSize
;
84 /** this enum selects how a area is filled with a single bitmap.
86 <p>It may be repeated, stretched or displayed with blank space
89 com
::sun
::star
::drawing
::BitmapMode aBitmapMode
;
100 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */