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 #ifndef QWT_SPLINE_PLEASING_H 00011 #define QWT_SPLINE_PLEASING_H 1 00012 00013 #include "qwt_spline.h" 00014 00023 class QWT_EXPORT QwtSplinePleasing: public QwtSplineG1 00024 { 00025 public: 00026 QwtSplinePleasing(); 00027 virtual ~QwtSplinePleasing(); 00028 00029 virtual uint locality() const; 00030 00031 virtual QPainterPath painterPath( const QPolygonF & ) const; 00032 virtual QVector<QLineF> bezierControlLines( const QPolygonF &points ) const; 00033 }; 00034 00035 #endif