- Main Page
- Related Pages
- Classes
- Files

- File List

# qwt_polygon.h

    00001 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
    00002  * Qwt Widget Library
    00003  * Copyright (C) 1997   Josef Wilgen
    00004  * Copyright (C) 2002   Uwe Rathmann
    00005  *
    00006  * This library is free software; you can redistribute it and/or
    00007  * modify it under the terms of the Qwt License, Version 1.0
    00008  *****************************************************************************/
    00009
    00010 // vim: expandtab
    00011
    00012 #ifndef QWT_POLYGON_H
    00013 #define QWT_POLYGON_H
    00014
    00015 #include "qwt_global.h"
    00016
    00021 #if QT_VERSION < 0x040000
    00022 #include <qpointarray.h>
    00023 #include "qwt_double_rect.h"
    00024
    00025 typedef QPointArray QwtPolygon;
    00026 typedef QMemArray<QwtDoublePoint> QwtPolygonF;
    00027
    00028 #else
    00029
    00030 #include <qpolygon.h>
    00031 typedef QPolygon QwtPolygon;
    00032 typedef QPolygonF QwtPolygonF;
    00033 #endif
    00034
    00035 #endif