Painter1D for spectra.
More...
#include <OpenMS/VISUAL/Painter1DBase.h>
|
| static void | drawDashedLine (const QPoint &from, const QPoint &to, QPainter *painter, const QColor color) |
| | static method to draw a dashed line More...
|
| |
| static void | drawCross (const QPoint &position, QPainter *painter, const int size=8) |
| | draw a cross at position, using a certain size (= width = height) of the cross More...
|
| |
| static void | drawCaret (const QPoint &position, QPainter *painter, const int size=8) |
| | draw a caret '^' at position, using a certain size (= width) of the caret More...
|
| |
| static QPainterPath | getOpenArrow (int arrow_width) |
| |
| static QPainterPath | getClosedArrow (int arrow_width) |
| |
| static QRectF | drawLineWithArrows (QPainter *painter, const QPen &pen, const QPoint &start, const QPoint &end, const QPainterPath &arrow_start=QPainterPath(), const QPainterPath &arrow_end=QPainterPath()) |
| |
◆ Painter1DPeak()
C'tor which remembers the layer to paint.
◆ drawMZAtInterestingPeaks_()
annotate up to 10 interesting peaks in the range vbegin to with their m/z values (using deisotoping and intensity filtering)
◆ paint()
| void paint |
( |
QPainter * |
, |
|
|
Plot1DCanvas * |
canvas, |
|
|
int |
layer_index |
|
) |
| |
|
overridevirtual |
◆ layer_