~ubuntu-branches/ubuntu/breezy/koffice/breezy

« back to all changes in this revision

Viewing changes to kchart/kdchart/KDChartDataRegion.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- Mode: C++ -*-
2
 
 
3
 
  $Id: KDChartDataRegion.h,v 1.3.2.1 2001/12/08 12:15:40 khz Exp $
4
 
 
5
 
  KDChart - a multi-platform charting engine
6
 
 
7
 
  Copyright (C) 2001 by Klar�lvdalens Datakonsult AB
8
 
*/
9
 
 
 
2
   KDChart - a multi-platform charting engine
 
3
   */
 
4
 
 
5
/****************************************************************************
 
6
 ** Copyright (C) 2001-2003 Klar�lvdalens Datakonsult AB.  All rights reserved.
 
7
 **
 
8
 ** This file is part of the KDChart library.
 
9
 **
 
10
 ** This file may be distributed and/or modified under the terms of the
 
11
 ** GNU General Public License version 2 as published by the Free Software
 
12
 ** Foundation and appearing in the file LICENSE.GPL included in the
 
13
 ** packaging of this file.
 
14
 **
 
15
 ** Licensees holding valid commercial KDChart licenses may use this file in
 
16
 ** accordance with the KDChart Commercial License Agreement provided with
 
17
 ** the Software.
 
18
 **
 
19
 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 
20
 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
21
 **
 
22
 ** See http://www.klaralvdalens-datakonsult.se/?page=products for
 
23
 **   information about KDChart Commercial License Agreements.
 
24
 **
 
25
 ** Contact info@klaralvdalens-datakonsult.se if any conditions of this
 
26
 ** licensing are not clear to you.
 
27
 **
 
28
 **********************************************************************/
10
29
#ifndef __KDCHARTDATAREGION__
11
30
#define __KDCHARTDATAREGION__
12
31
 
13
32
#include <qregion.h>
14
 
#include <qlist.h>
15
33
#include <qpointarray.h>
16
34
 
 
35
#include "KDChartGlobal.h"
 
36
 
17
37
/*!
18
38
  \internal
19
 
*/
 
39
  */
20
40
struct KDChartDataRegion
21
41
{
22
42
    KDChartDataRegion( QRegion reg, uint r, uint c, uint ch )
39
59
    // we store the following additional anchor information:
40
60
 
41
61
    QPointArray points;  // stores 9 elements: one for each
42
 
                         // value of KDChartEnums::PositionFlag
 
62
    // value of KDChartEnums::PositionFlag
43
63
 
44
64
    int startAngle; // Note: 5760 makes a full circle, 2880 is left 'corner'.
45
65
    int angleLen;
54
74
};
55
75
 
56
76
 
57
 
typedef QList < KDChartDataRegion > KDChartDataRegionList;
 
77
typedef QPtrList < KDChartDataRegion > KDChartDataRegionList;
58
78
 
59
79
#endif