2 * Copyright 2006-2009, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _GRADIENT_DIAMOND_H
6 #define _GRADIENT_DIAMOND_H
15 // WARNING! This is experimental API and may change! Be prepared to
16 // recompile your software in a next version of haiku.
19 class BGradientDiamond
: public BGradient
{
22 BGradientDiamond(const BPoint
& center
);
23 BGradientDiamond(float cx
, float cy
);
25 BPoint
Center() const;
26 void SetCenter(const BPoint
& center
);
27 void SetCenter(float cx
, float cy
);
30 #endif // _GRADIENT_DIAMOND_H