Fix more class/struct mixups.
[haiku.git] / headers / os / interface / GradientRadial.h
blobeb9e260c2d96a49ca3328f6bc0a0461200e829eb
1 /*
2 * Copyright 2006-2009, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _GRADIENT_RADIAL_H
6 #define _GRADIENT_RADIAL_H
9 #include <Gradient.h>
12 class BPoint;
15 // WARNING! This is experimental API and may change! Be prepared to
16 // recompile your software in a next version of haiku.
19 class BGradientRadial : public BGradient {
20 public:
21 BGradientRadial();
22 BGradientRadial(const BPoint& center,
23 float radius);
24 BGradientRadial(float cx, float cy,
25 float radius);
27 BPoint Center() const;
28 void SetCenter(const BPoint& center);
29 void SetCenter(float cx, float cy);
31 float Radius() const;
32 void SetRadius(float radius);
35 #endif // _GRADIENT_RADIAL_H