Home
last modified time | relevance | path

Searched refs:_dataRelativeRect (Results 1 – 4 of 4) sorted by relevance

/dports/science/kst2/kst-plot-38eddb5322a1d557f9d86ea95d456d76272941e3/src/libkstapp/
H A Dlineitem.cpp239 _dataRelativeRect.setTopLeft(plot->plotItem()->mapToProjection(mapToParent(P1))); in updateDataRelativeRect()
240 _dataRelativeRect.setBottomRight(plot->plotItem()->mapToProjection(mapToParent(P2))); in updateDataRelativeRect()
256 QPointF drP1 = _dataRelativeRect.topLeft(); in applyDataLockedDimensions()
257 QPointF drP2 = _dataRelativeRect.bottomRight(); in applyDataLockedDimensions()
H A Dlabelitem.cpp414 _dataRelativeRect.setTopLeft(plot->plotItem()->mapToProjection(mapToParent(P1))); in updateDataRelativeRect()
415 _dataRelativeRect.setBottomRight(plot->plotItem()->mapToProjection(mapToParent(P2))); in updateDataRelativeRect()
431 QPointF drP1 = _dataRelativeRect.topLeft(); in applyDataLockedDimensions()
432 QPointF drP2 = _dataRelativeRect.bottomRight(); in applyDataLockedDimensions()
H A Dviewitem.h121 QRectF dataRelativeRect() const { return _dataRelativeRect;} in dataRelativeRect()
122 void setDataRelativeRect(QRectF r) { _dataRelativeRect = r;} in setDataRelativeRect()
372 QRectF _dataRelativeRect; variable
H A Dviewitem.cpp224 xml.writeAttribute("datarect_x", QVariant(_dataRelativeRect.x()).toString()); in save()
225 xml.writeAttribute("datarect_y", QVariant(_dataRelativeRect.y()).toString()); in save()
226 xml.writeAttribute("datarect_width", QVariant(_dataRelativeRect.width()).toString()); in save()
227 xml.writeAttribute("datarect_height", QVariant(_dataRelativeRect.height()).toString()); in save()
337 …qreal relativeWidth = _dataRelativeRect.width()/(render_item->plotItem()->xMax() - render_item->pl… in applyDataLockedDimensions()
338 …qreal relativeHeight = _dataRelativeRect.height()/(render_item->plotItem()->yMax() - render_item->… in applyDataLockedDimensions()
339 qreal relativeX = (_dataRelativeRect.center().x() - render_item->plotItem()->xMin())/ in applyDataLockedDimensions()
341 qreal relativeY = (_dataRelativeRect.center().y() - render_item->plotItem()->yMin())/ in applyDataLockedDimensions()
580 _dataRelativeRect = QRectF(x,y,w,h); in parse()
1995 _dataRelativeRect = plot->plotItem()->mapToProjection(localRect); in updateDataRelativeRect()