haiku/headers/os/interface/GradientRadialFocus.h
Stephan Aßmus c8d611a2c0 Prepend header guard with underscore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 12:00:57 +00:00

36 lines
786 B
C++

/*
* Copyright 2006-2008, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Artur Wyszynski <harakash@gmail.com>
*/
#ifndef _GRADIENT_RADIAL_FOCUS_H
#define _GRADIENT_RADIAL_FOCUS_H
#include <Gradient.h>
class BPoint;
class BGradientRadialFocus : public BGradient {
public:
BGradientRadialFocus();
BGradientRadialFocus(const BPoint& center, float radius,
const BPoint& focal);
BGradientRadialFocus(float cx, float cy, float radius, float fx, float fy);
BPoint Center() const;
void SetCenter(const BPoint& center);
void SetCenter(float cx, float cy);
BPoint Focal() const;
void SetFocal(const BPoint& focal);
void SetFocal(float fx, float fy);
float Radius() const;
void SetRadius(float radius);
};
#endif // _GRADIENT_RADIAL_FOCUS_H