Analitza
plotter2d.h
Go to the documentation of this file.
58 struct GridInfo; // interval structure for carry current grid state information across interval methods
156 QRectF normalizeUserViewport(const QRectF uvp); // from userViewport to viewport, this one uses current scale information
174 void drawCartesianTickLabels(QPainter* painter, const GridInfo& gridinfo, CartesianAxis axis) const;
176 void drawGridTickLabels(QPainter* painter, const GridInfo& gridinfo, GridStyle gridStyle) const;
182 const QString computeAngleLabelByFrac(unsigned int n, unsigned int d) const; // input npi/d return angle in m_angleMode
183 const QString computeAngleLabelByStep(unsigned int k, unsigned int step) const; // input n*step*pi return angle in m_angleMode
195 bool m_dirty; // or m_updated; como ahora contamos con setmodel, es necesario que se actualicen los datos antes de pintar, es necesario que no sea dirty
196 QRectF viewport; // normalized viewport (with scale information), this one is the current viewport (used in currentViewport)
197 QRectF userViewport; // raw viewport that user sets by setViewport, so we need to normalized userViewport into viewport to include scale and aspect radio information
typedef Orientations
void setAutoGridStyle(bool autogs)
If true then we ignore the grid style suggested by setGridStyleHint, if false then we use as grid sty...
Definition: plotter2d.h:83
bool autoGridStyle() const
Returns whether we will change automatically the grid style based on the curent plot.
Definition: plotter2d.h:86
bool keepAspectRatio() const
Sets whether it is keeping the aspect ratio (1:1 grid).
Definition: plotter2d.h:95
void setShowTickLabels(Qt::Orientations o)
Definition: plotter2d.h:128
void setBackgroundColor(const QColor &color)
Definition: plotter2d.h:77
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.