haiku/headers/os/interface/GradientRadial.h
Stephan Aßmus 89208c77f1 Finished unifying the Interface Kit headers:
* Fixed copyrights (puncuation and capitalization, removed authors from
  headers)
* Updated indentation style
* Unified pointer/reference style
* Re-ordered some methods for better grouping where it could be done
  (abd adopted source accordingly)
* Small coding style fixes here and there

No functional change intended.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-27 11:12:41 +00:00

36 lines
768 B
C++

/*
* Copyright 2006-2009, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _GRADIENT_RADIAL_H
#define _GRADIENT_RADIAL_H
#include <Gradient.h>
class BPoint;
// WARNING! This is experimental API and may change! Be prepared to
// recompile your software in a next version of haiku.
class BGradientRadial : public BGradient {
public:
BGradientRadial();
BGradientRadial(const BPoint& center,
float radius);
BGradientRadial(float cx, float cy,
float radius);
BPoint Center() const;
void SetCenter(const BPoint& center);
void SetCenter(float cx, float cy);
float Radius() const;
void SetRadius(float radius);
};
#endif // _GRADIENT_RADIAL_H