1/* 2 * Copyright 2006-2009, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _GRADIENT_CONIC_H 6#define _GRADIENT_CONIC_H 7 8 9#include <Gradient.h> 10 11 12class BPoint; 13 14 15// WARNING! This is experimental API and may change! Be prepared to 16// recompile your software in a next version of haiku. 17 18 19class BGradientConic : public BGradient { 20public: 21 BGradientConic(); 22 BGradientConic(const BPoint& center, 23 float angle); 24 BGradientConic(float cx, float cy, 25 float angle); 26 27 BPoint Center() const; 28 void SetCenter(const BPoint& center); 29 void SetCenter(float cx, float cy); 30 31 float Angle() const; 32 void SetAngle(float angle); 33}; 34 35#endif // _GRADIENT_CONIC_H 36