Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

qwt_rect.h

Go to the documentation of this file.
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_RECT_H
00011 #define QWT_RECT_H
00012 
00013 #include <qrect.h>
00014 #include "qwt_global.h"
00015 
00020 class QWT_EXPORT QwtRect : public QRect
00021 {
00022 public:
00023     QwtRect();
00024     QwtRect(const QRect &r);
00025 
00026     QRect cutTop(int h , int distTop = 0, int distBottom = 0);
00027     QRect cutBottom(int h, int distTop = 0, int distBottom = 0);
00028     QRect cutLeft(int w, int distLeft = 0, int distRight = 0);
00029     QRect cutRight(int w, int distLeft = 0, int distRight = 0);
00030     const QwtRect &cutMargin(int mLeft, int mRight, int Top, int mBottom);
00031 };
00032 
00033 #endif

Generated on Fri Nov 7 14:11:46 2003 for Qwt Developer's Guide by doxygen 1.3.2