c8d611a2c0
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28561 a95241bf-73f2-0310-859d-f6bbb57e9c96
31 lines
594 B
C++
31 lines
594 B
C++
/*
|
|
* Copyright 2006-2008, Haiku.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Artur Wyszynski <harakash@gmail.com>
|
|
*/
|
|
|
|
#ifndef _GRADIENT_CONIC_H
|
|
#define _GRADIENT_CONIC_H
|
|
|
|
#include <Gradient.h>
|
|
|
|
class BPoint;
|
|
|
|
class BGradientConic : public BGradient {
|
|
public:
|
|
BGradientConic();
|
|
BGradientConic(const BPoint& center, float angle);
|
|
BGradientConic(float cx, float cy, float angle);
|
|
|
|
BPoint Center() const;
|
|
void SetCenter(const BPoint& center);
|
|
void SetCenter(float cx, float cy);
|
|
|
|
float Angle() const;
|
|
void SetAngle(float angle);
|
|
};
|
|
|
|
#endif // _GRADIENT_CONIC_H
|