-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add internal qwtpolar 1.1.1 for Qwt 6.1
(cherry picked from commit a9cb990)
- Loading branch information
Showing
31 changed files
with
7,904 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- ***************************** | ||
* QwtPolar Widget Library | ||
* Copyright (C) 2008 Uwe Rathmann | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the Qwt License, Version 1.0 | ||
*****************************************************************************/ | ||
|
||
#ifndef QWT_POLAR_H | ||
#define QWT_POLAR_H 1 | ||
|
||
#include "qwt_polar_global.h" | ||
|
||
namespace QwtPolar | ||
{ | ||
//! Unit of an angle | ||
enum AngleUnit | ||
{ | ||
//! 0.0 -> 2_M_PI | ||
Radians, | ||
|
||
//! 0.0 -> 360.0 | ||
Degrees, | ||
|
||
//! 0.0 - 400.0 | ||
Gradians, | ||
|
||
//! 0.0 - 1.0 | ||
Turns | ||
}; | ||
|
||
//! An enum, that identifies the type of a coordinate | ||
enum Coordinate | ||
{ | ||
//! Azimuth | ||
Azimuth, | ||
|
||
//! Radius | ||
Radius | ||
}; | ||
|
||
/*! | ||
Indices used to identify an axis. | ||
\sa Scale | ||
*/ | ||
enum Axis | ||
{ | ||
//! Azimuth axis | ||
AxisAzimuth, | ||
|
||
//! Left axis | ||
AxisLeft, | ||
|
||
//! Right axis | ||
AxisRight, | ||
|
||
//! Top axis | ||
AxisTop, | ||
|
||
//! Bottom axis | ||
AxisBottom, | ||
|
||
//! Number of available axis | ||
AxesCount | ||
}; | ||
|
||
/*! | ||
Indices used to identify a scale. | ||
\sa Axis | ||
*/ | ||
enum Scale | ||
{ | ||
//! Azimuth scale | ||
ScaleAzimuth = Azimuth, | ||
|
||
//! Radial scale | ||
ScaleRadius = Radius, | ||
|
||
//! Number of scales | ||
ScaleCount | ||
}; | ||
} | ||
|
||
#endif |
Oops, something went wrong.