mirror of
https://review.haiku-os.org/haiku
synced 2025-01-23 14:54:49 +01:00
28 lines
527 B
C
28 lines
527 B
C
|
/*
|
||
|
* Copyright 2006-2008, Haiku.
|
||
|
* Distributed under the terms of the MIT License.
|
||
|
*
|
||
|
* Authors:
|
||
|
* Artur Wyszynski <harakash@gmail.com>
|
||
|
*/
|
||
|
|
||
|
#ifndef GRADIENT_DIAMOND_H
|
||
|
#define GRADIENT_DIAMOND_H
|
||
|
|
||
|
#include <Gradient.h>
|
||
|
|
||
|
class BPoint;
|
||
|
|
||
|
class BGradientDiamond : public BGradient {
|
||
|
public:
|
||
|
BGradientDiamond();
|
||
|
BGradientDiamond(const BPoint& center);
|
||
|
BGradientDiamond(float cx, float cy);
|
||
|
|
||
|
BPoint Center() const;
|
||
|
void SetCenter(const BPoint& center);
|
||
|
void SetCenter(float cx, float cy);
|
||
|
};
|
||
|
|
||
|
#endif // GRADIENT_DIAMOND_H
|