Files
haiku-beta6/headers/os/interface/GradientConic.h
T

36 lines
755 B
C++
Raw Normal View History

2008-10-14 21:27:42 +00:00
/*
* Copyright 2006-2009, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
2008-10-14 21:27:42 +00:00
*/
2008-11-08 12:00:57 +00:00
#ifndef _GRADIENT_CONIC_H
#define _GRADIENT_CONIC_H
2008-10-14 21:27:42 +00:00
2009-08-26 11:16:49 +00:00
2008-10-14 21:27:42 +00:00
#include <Gradient.h>
2009-08-26 11:16:49 +00:00
2008-10-14 21:27:42 +00:00
class BPoint;
2009-08-26 11:16:49 +00:00
// WARNING! This is experimental API and may change! Be prepared to
// recompile your software in a next version of haiku.
2008-10-14 21:27:42 +00:00
class BGradientConic : public BGradient {
public:
2009-08-26 11:16:49 +00:00
BGradientConic();
BGradientConic(const BPoint& center,
float angle);
BGradientConic(float cx, float cy,
float angle);
2008-10-14 21:27:42 +00:00
2009-08-26 11:16:49 +00:00
BPoint Center() const;
void SetCenter(const BPoint& center);
void SetCenter(float cx, float cy);
2008-10-14 21:27:42 +00:00
2009-08-26 11:16:49 +00:00
float Angle() const;
void SetAngle(float angle);
2008-10-14 21:27:42 +00:00
};
2008-11-08 12:00:57 +00:00
#endif // _GRADIENT_CONIC_H