Changeset 11158 in ntrip for trunk/BNC/qwt/qwt_clipper.h


Ignore:
Timestamp:
Nov 3, 2026, 10:53:35 AM (4 weeks ago)
Author:
stuerze
Message:

deprecated functions exchanged libs updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_clipper.h

    r9383 r11158  
    1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
     1/******************************************************************************
    22 * Qwt Widget Library
    33 * Copyright (C) 1997   Josef Wilgen
    … …  
    1212
    1313#include "qwt_global.h"
    14 #include "qwt_interval.h"
    15 #include <qpolygon.h>
    16 #include <qvector.h>
    1714
     15class QwtInterval;
     16class QPointF;
    1817class QRect;
    1918class QRectF;
     19class QPolygon;
     20class QPolygonF;
     21
     22#if QT_VERSION < 0x060000
     23template< typename T > class QVector;
     24#endif
    2025
    2126/*!
    22   \brief Some clipping algorithms
    23 */
     27   \brief Some clipping algorithms
     28 */
    2429
    25 class QWT_EXPORT QwtClipper
     30namespace QwtClipper
    2631{
    27 public:
    28     static QPolygon clipPolygon( const QRect &,
    29         const QPolygon &, bool closePolygon = false );
    30     static QPolygon clipPolygon( const QRectF &,
    31         const QPolygon &, bool closePolygon = false );
     32    QWT_EXPORT void clipPolygon( const QRect&,
     33        QPolygon&, bool closePolygon = false );
    3234
    33     static QPolygonF clipPolygonF( const QRectF &,
    34         const QPolygonF &, bool closePolygon = false );
     35    QWT_EXPORT void clipPolygon( const QRectF&,
     36        QPolygon&, bool closePolygon = false );
    3537
    36     static QVector<QwtInterval> clipCircle(
    37         const QRectF &, const QPointF &, double radius );
     38    QWT_EXPORT void clipPolygonF( const QRectF&,
     39        QPolygonF&, bool closePolygon = false );
     40
     41    QWT_EXPORT QPolygon clippedPolygon( const QRect&,
     42        const QPolygon&, bool closePolygon = false );
     43
     44    QWT_EXPORT QPolygon clippedPolygon( const QRectF&,
     45        const QPolygon&, bool closePolygon = false );
     46
     47    QWT_EXPORT QPolygonF clippedPolygonF( const QRectF&,
     48        const QPolygonF&, bool closePolygon = false );
     49
     50    QWT_EXPORT QVector< QwtInterval > clipCircle(
     51        const QRectF&, const QPointF&, double radius );
    3852};
    3953
Note: See TracChangeset for help on using the changeset viewer.