bump product version to 6.4.0.3
[LibreOffice.git] / vcl / inc / SalGradient.hxx
blob1b4a47f9a6ffc95d2d14b9ce8900a9aef0461e5d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #ifndef INCLUDED_VCL_INC_SALGRADIENT_HXX
11 #define INCLUDED_VCL_INC_SALGRADIENT_HXX
13 #include <basegfx/point/b2dpoint.hxx>
15 struct SalGradientStop
17 Color maColor;
18 float mfOffset;
20 SalGradientStop(Color const& rColor, float fOffset)
21 : maColor(rColor)
22 , mfOffset(fOffset)
27 struct SalGradient
29 basegfx::B2DPoint maPoint1;
30 basegfx::B2DPoint maPoint2;
31 std::vector<SalGradientStop> maStops;
34 #endif // INCLUDED_VCL_INC_SALGRADIENT_HXX
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */