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 .
30 /** This structure contains all properties of a bitmap when used as
33 @see com::sun::star::drawing::FillProperties
37 /** a URL to the bitmap used. This may be an internal URL of the
42 /** This is the horizontal and vertical offset where the tile
45 <p>It is given in percent in relation to the width of the
48 com
::sun
::star
::awt
::Point aOffset
;
50 /** Every second line (X) / row (Y) of tiles is moved the given
51 percent of the width of the bitmap.
53 com
::sun
::star
::awt
::Point aPositionOffset
;
55 /** The RectanglePoint specifies the position inside of the bitmap
56 to use as the top left position for rendering.
58 com
::sun
::star
::drawing
::RectanglePoint aRectanglePoint
;
60 /** specifies if the size is given in percentage or as an absolute
63 <p>If this is `TRUE`, the properties SizeX and
64 SizeY contain the size of the tile in percent of the
65 size of the original bitmap. If this is `FALSE`, the size of
66 the tile is specified with 1/100th mm.</p>
70 /** This is the size of the tile for filling.
72 <p>Depending on the property LogicalSize, this is
73 either relative or absolute.</p>
75 com
::sun
::star
::awt
::Size aSize
;
77 /** this enum selects how an area is filled with a single bitmap.
79 <p>It may be repeated, stretched or displayed with blank space
82 com
::sun
::star
::drawing
::BitmapMode aBitmapMode
;
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */