qwt_rect.cpp

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 #include "qwt_clipper.h"
00011 #include "qwt_rect.h"
00012 
00014 QwtRect::QwtRect(): 
00015     QRect() 
00016 {
00017 }
00018 
00020 QwtRect::QwtRect(const QRect &r): 
00021     QRect(r) 
00022 {
00023 }
00024 
00026 QwtPolygon QwtRect::clip(const QwtPolygon &pa) const
00027 {
00028     return QwtClipper::clipPolygon(*this, pa);
00029 }

Generated on Thu May 1 15:44:09 2008 for Qwt User's Guide by  doxygen 1.5.0