* Updated indentation and licence.

* Added experimental API warning.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32697 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2009-08-26 11:16:49 +00:00
parent f808efaf83
commit b87283e761
5 changed files with 95 additions and 73 deletions
+13 -8
View File
@@ -1,23 +1,28 @@
/*
* Copyright 2006-2008, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Artur Wyszynski <[email protected]>
* Copyright 2006-2009, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT license.
*/
#ifndef _GRADIENT_CONIC_H
#define _GRADIENT_CONIC_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 BGradientConic : public BGradient {
public:
BGradientConic();
BGradientConic(const BPoint& center, float angle);
BGradientConic(float cx, float cy, float angle);
BGradientConic(const BPoint& center,
float angle);
BGradientConic(float cx, float cy,
float angle);
BPoint Center() const;
void SetCenter(const BPoint& center);
+9 -6
View File
@@ -1,18 +1,21 @@
/*
* Copyright 2006-2008, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Artur Wyszynski <[email protected]>
* Copyright 2006-2009, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT license.
*/
#ifndef _GRADIENT_DIAMOND_H
#define _GRADIENT_DIAMOND_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 BGradientDiamond : public BGradient {
public:
BGradientDiamond();
+13 -8
View File
@@ -1,23 +1,28 @@
/*
* Copyright 2006-2008, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Artur Wyszynski <[email protected]>
* Copyright 2006-2009, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT license.
*/
#ifndef _GRADIENT_LINEAR_H
#define _GRADIENT_LINEAR_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 BGradientLinear : public BGradient {
public:
BGradientLinear();
BGradientLinear(const BPoint& start, const BPoint& end);
BGradientLinear(float x1, float y1, float x2, float y2);
BGradientLinear(const BPoint& start,
const BPoint& end);
BGradientLinear(float x1, float y1,
float x2, float y2);
BPoint Start() const;
void SetStart(const BPoint& start);
+13 -8
View File
@@ -1,23 +1,28 @@
/*
* Copyright 2006-2008, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Artur Wyszynski <[email protected]>
* 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);
BGradientRadial(const BPoint& center,
float radius);
BGradientRadial(float cx, float cy,
float radius);
BPoint Center() const;
void SetCenter(const BPoint& center);
+13 -9
View File
@@ -1,24 +1,28 @@
/*
* Copyright 2006-2008, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Artur Wyszynski <[email protected]>
* Copyright 2006-2009, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT license.
*/
#ifndef _GRADIENT_RADIAL_FOCUS_H
#define _GRADIENT_RADIAL_FOCUS_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 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);
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);