OpenStructure
Namespaces | Functions
drawing_functions.hh File Reference
#include <ost/geom/geom.hh>
#include <QPainter>
#include <QPoint>
#include <QSize>

Go to the source code of this file.

Namespaces

 ost
 
 ost::img
 
 ost::img::gui
 

Functions

DLLEXPORT void DrawDiagonalCross (QPainter &pnt, const QPoint &p, int s)
 
DLLEXPORT void DrawCross (QPainter &pnt, const QPoint &p, int s)
 
DLLEXPORT void DrawRectangle (QPainter &pnt, const QPoint &p1, const QPoint &p2)
 
DLLEXPORT void DrawEllipse (QPainter &pnt, const QPoint &center, Real rx, Real ry, Real angle)
 
DLLEXPORT void DrawHalfEllipse (QPainter &pnt, const QPoint &center, Real rx, Real ry, Real angle)
 
DLLEXPORT void DrawHyperbola (QPainter &pnt, const QSize &s, const geom::Vec2 &center, Real rx, Real ry, Real angle, bool orientation=false)