3
$Id: KDChartDataRegion.h,v 1.3.2.1 2001/12/08 12:15:40 khz Exp $
5
KDChart - a multi-platform charting engine
7
Copyright (C) 2001 by Klar�lvdalens Datakonsult AB
2
KDChart - a multi-platform charting engine
5
/****************************************************************************
6
** Copyright (C) 2001-2003 Klar�lvdalens Datakonsult AB. All rights reserved.
8
** This file is part of the KDChart library.
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.
15
** Licensees holding valid commercial KDChart licenses may use this file in
16
** accordance with the KDChart Commercial License Agreement provided with
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.
22
** See http://www.klaralvdalens-datakonsult.se/?page=products for
23
** information about KDChart Commercial License Agreements.
25
** Contact info@klaralvdalens-datakonsult.se if any conditions of this
26
** licensing are not clear to you.
28
**********************************************************************/
10
29
#ifndef __KDCHARTDATAREGION__
11
30
#define __KDCHARTDATAREGION__
13
32
#include <qregion.h>
15
33
#include <qpointarray.h>
35
#include "KDChartGlobal.h"
20
40
struct KDChartDataRegion
22
42
KDChartDataRegion( QRegion reg, uint r, uint c, uint ch )
39
59
// we store the following additional anchor information:
41
61
QPointArray points; // stores 9 elements: one for each
42
// value of KDChartEnums::PositionFlag
62
// value of KDChartEnums::PositionFlag
44
64
int startAngle; // Note: 5760 makes a full circle, 2880 is left 'corner'.