1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef com_sun_star_chart2_FillBitmap_idl 24#define com_sun_star_chart2_FillBitmap_idl 25 26// #ifndef __com_sun_star_awt_XBitmap_idl__ 27// #include <com/sun/star/awt/XBitmap.idl> 28// #endif 29 30#ifndef __com_sun_star_awt_Point_idl__ 31#include <com/sun/star/awt/Point.idl> 32#endif 33#ifndef __com_sun_star_awt_Size_idl__ 34#include <com/sun/star/awt/Size.idl> 35#endif 36 37#ifndef __com_sun_star_drawing_BitmapMode_idl__ 38#include <com/sun/star/drawing/BitmapMode.idl> 39#endif 40#ifndef __com_sun_star_drawing_RectanglePoint_idl__ 41#include <com/sun/star/drawing/RectanglePoint.idl> 42#endif 43 44 45module com 46{ 47module sun 48{ 49module star 50{ 51module chart2 52{ 53 54/** This strucutre contains all properties of a bitmap when used as 55 FillStyle. 56 57 @see com::sun::star::drawing::FillProperties 58 */ 59struct FillBitmap 60{ 61 /** a URL to the bitmap used. This may be an internal URL of the 62 graphics manager. 63 */ 64 string aURL; 65 66 /** This is the horizontal and vertical offset where the tile 67 starts. 68 69 <p>It is given in percent in relation to the width of the 70 bitmap.</p> 71 */ 72 com::sun::star::awt::Point aOffset; 73 74 /** Every second line (X) / row (Y) of tiles is moved the given 75 percent of the witdh of the bitmap. 76 */ 77 com::sun::star::awt::Point aPositionOffset; 78 79 /** The RectanglePoint specifies the position inside of the bitmap 80 to use as the top left position for rendering. 81 */ 82 com::sun::star::drawing::RectanglePoint aRectanglePoint; 83 84 /** specifies if the size is given in percentage or as an absolute 85 value. 86 87 <p>If this is <TRUE/>, the properties SizeX and 88 SizeY contain the size of the tile in percent of the 89 size of the original bitmap. If this is <FALSE/>, the size of 90 the tile is specified with 1/100th mm.</p> 91 */ 92 boolean bLogicalSize; 93 94 /** This is the size of the tile for filling. 95 96 <p>Depending on the property LogicalSize, this is 97 either relative or absolute.</p> 98 */ 99 com::sun::star::awt::Size aSize; 100 101 /** this enum selects how a area is filled with a single bitmap. 102 103 <p>It may be repeated, stretched or displayed with blank space 104 around it.</p> 105 */ 106 com::sun::star::drawing::BitmapMode aBitmapMode; 107}; 108 109} ; // chart2 110} ; // com 111} ; // sun 112} ; // star 113 114 115#endif 116