~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kchart/kdchart/src/Ternary/TernaryConstants.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++ -*-
 
2
   KDChart - a multi-platform charting engine
1
3
   */
2
4
 
3
5
/****************************************************************************
23
25
 **
24
26
 **********************************************************************/
25
27
 
 
28
#include "TernaryConstants.h"
 
29
 
26
30
#include <cmath>
27
31
 
28
 
#include "TernaryConstants.h"
29
 
 
30
32
extern const double Sqrt3 = sqrt( 3.0 );
31
33
extern const double TriangleWidth = 1.0;
32
34
extern const double TriangleHeight = 0.5 * Sqrt3;