#include "composition.h"
#include <QBoxLayout>
#include <QRadioButton>
#include <QTimer>
#include <QDateTime>
#include <QSlider>
#include <QMouseEvent>
#include <math.h>
Include dependency graph for composition.cpp:

Go to the source code of this file.
Functions | |
| QRectF | rectangle_around (const QPointF &p, const QSizeF &size=QSize(250, 200)) |
Definition at line 201 of file composition.cpp.
References p, size, and QRectF::translate().
Referenced by CompositionRenderer::drawSource(), and CompositionRenderer::mousePressEvent().
00202 { 00203 QRectF rect(p, size); 00204 rect.translate(-size.width()/2, -size.height()/2); 00205 return rect; 00206 }
Here is the call graph for this function:

1.5.1