/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef __com_sun_star_drawing_Hatch_idl__ #define __com_sun_star_drawing_Hatch_idl__ #ifndef __com_sun_star_drawing_HatchStyle_idl__ #include #endif #ifndef __com_sun_star_util_Color_idl__ #include #endif //============================================================================= module com { module sun { module star { module drawing { //============================================================================= // DocMerge from xml: struct com::sun::star::drawing::Hatch /** This struct defines the appearence of a hatch.

A hatch is a texture made of straight lines.

*/ published struct Hatch { // DocMerge from xml: field com::sun::star::drawing::Hatch::Style /** The HatchStyle defines the kind of lines used to draw this hatch. */ com::sun::star::drawing::HatchStyle Style; //------------------------------------------------------------------------- // DocMerge from xml: field com::sun::star::drawing::Hatch::Color /** This is the color of the hatch lines. */ com::sun::star::util::Color Color; //------------------------------------------------------------------------- // DocMerge from xml: field com::sun::star::drawing::Hatch::Distance /** This is the distance between the lines in the hatch. */ long Distance; //------------------------------------------------------------------------- // DocMerge from xml: field com::sun::star::drawing::Hatch::Angle /** You can rotate the lines of the hatch with this angle. */ long Angle; }; //============================================================================= }; }; }; }; #endif