TechDrawGui::Rez Class Reference

Functions to handle mm resolution conversion. More...

#include <Rez.h>

Static Public Member Functions

static QPointF appPt (QPointF p)
 
static QSize appSize (QSize s)
 
static Base::Vector3d appX (Base::Vector3d v)
 
static double appX (double x)
 
static QPointF appX (QPointF p)
 
static double getParameter (void)
 
static double getRezFactor (void)
 
static QPointF guiPt (QPointF p)
 
static QRectF guiRect (QRectF r)
 
static QSize guiSize (QSize s)
 
static Base::Vector3d guiX (Base::Vector3d v)
 
static Base::Vector2d guiX (Base::Vector3d v, bool planar)
 
static double guiX (double x)
 
static QPointF guiX (QPointF p)
 
static void setRezFactor (double f)
 

Detailed Description

Functions to handle mm resolution conversion.

Member Function Documentation

◆ appPt()

QPointF Rez::appPt ( QPointF  p)
static

References appX().

Referenced by appX(), and TechDrawGui::QGSPage::createBalloon().

◆ appSize()

QSize Rez::appSize ( QSize  s)
static

References appX().

◆ appX() [1/3]

Base::Vector3d Rez::appX ( Base::Vector3d  v)
static

References appX().

◆ appX() [2/3]

◆ appX() [3/3]

QPointF Rez::appX ( QPointF  p)
static

References appPt().

◆ getParameter()

◆ getRezFactor()

double Rez::getRezFactor ( void  )
static

◆ guiPt()

QPointF Rez::guiPt ( QPointF  p)
static

References getRezFactor().

Referenced by guiX().

◆ guiRect()

QRectF Rez::guiRect ( QRectF  r)
static

References guiX().

◆ guiSize()

QSize Rez::guiSize ( QSize  s)
static

References guiX().

◆ guiX() [1/4]

Base::Vector3d Rez::guiX ( Base::Vector3d  v)
static

References guiX().

◆ guiX() [2/4]

Base::Vector2d Rez::guiX ( Base::Vector3d  v,
bool  planar 
)
static

References guiX().

◆ guiX() [3/4]

double Rez::guiX ( double  x)
static

References getRezFactor().

Referenced by TechDrawGui::QGSPage::addDrawViewClip(), TechDrawGui::QGSPage::addQView(), TechDrawGui::TaskRichAnno::calcTextStartPos(), TechDrawGui::QGIView::calculateFontPixelSize(), TechDrawGui::QGISVGTemplate::createClickHandles(), TechDrawGui::QGIFace::decodeDashSpec(), TechDrawGui::PreferencesGui::dimFontSizePX(), TechDrawGui::QGILeaderLine::draw(), TechDrawGui::QGIViewDimension::draw(), TechDrawGui::QGIViewImage::draw(), TechDrawGui::QGIView::draw(), TechDrawGui::QGIViewAnnotation::drawAnnotation(), TechDrawGui::QGVPage::drawBackground(), TechDrawGui::QGIViewBalloon::drawBalloon(), TechDrawGui::QGIViewPart::drawCenterLines(), TechDrawGui::QGIViewClip::drawClip(), TechDrawGui::QGIViewDimension::drawDiameter(), TechDrawGui::QGIViewPart::drawHighlight(), TechDrawGui::QGIViewPart::drawMatting(), TechDrawGui::QGIViewPart::drawSectionLine(), TechDrawGui::QGIViewPart::drawViewPart(), TechDrawGui::QGISectionLine::extensionEndsISO(), TechDrawGui::QGIFace::geomToLine(), TechDrawGui::QGIViewPart::geomToPainterPath(), TechDrawGui::QGIFace::geomToStubbyLine(), TechDrawGui::TaskDetail::getAnchorScene(), TechDrawGui::QGILeaderLine::getAttachFromFeature(), TechDrawGui::QGEPath::getDeltasFromLeader(), TechDrawGui::QGILeaderLine::getLineWidth(), TechDrawGui::MDIViewPage::getTemplateCenter(), guiRect(), guiSize(), guiX(), TechDrawGui::PreferencesGui::labelFontSizePX(), TechDrawGui::QGIFace::lineFromPoints(), TechDrawGui::QGIFace::lineSetToFillItems(), TechDrawGui::QGISVGTemplate::load(), TechDrawGui::QGISectionLine::makeArrowsTrad(), TechDrawGui::QGIArrow::makeDot(), TechDrawGui::QGIArrow::makeFilledTriangle(), TechDrawGui::QGIArrow::makeForkArrow(), TechDrawGui::QGVPage::makeGrid(), TechDrawGui::QGIArrow::makeHashMark(), TechDrawGui::QGIArrow::makeOpenArrow(), TechDrawGui::QGIArrow::makeOpenDot(), TechDrawGui::QGIArrow::makePyramid(), TechDrawGui::QGIHighlight::makeReference(), TechDrawGui::MDIViewPage::matchSceneRectToTemplate(), TechDrawGui::QGTracker::mousePressEvent(), TechDrawGui::TaskDetail::onHighlightMoved(), TechDrawGui::TaskCosVertex::onTrackerFinished(), TechDrawGui::QGIViewBalloon::placeBalloon(), TechDrawGui::QGSPage::postProcessXml(), TechDrawGui::MDIViewPage::print(), TechDrawGui::QGIDatumLabel::QGIDatumLabel(), TechDrawGui::QGIGhostHighlight::QGIGhostHighlight(), TechDrawGui::QGIHighlight::QGIHighlight(), TechDrawGui::QGISectionLine::QGISectionLine(), TechDrawGui::QGIViewClip::QGIViewClip(), TechDrawGui::QGIRichAnno::rectPen(), TechDrawGui::QGSPage::saveSvg(), TechDrawGui::QGIHighlight::setBounds(), TechDrawGui::QGEPath::setEndAdjust(), TechDrawGui::QGIFace::setGeomPen(), TechDrawGui::QGILeaderLine::setLeaderFeature(), TechDrawGui::QGEPath::setStartAdjust(), TechDrawGui::QGIRichAnno::setTextItem(), TechDrawGui::QGIViewBalloon::setViewPartFeature(), TechDrawGui::QGIViewDimension::setViewPartFeature(), TechDrawGui::TaskLeaderLine::TaskLeaderLine(), TechDrawGui::TaskRichAnno::TaskRichAnno(), TechDrawGui::QGIViewBalloon::updateBalloon(), TechDrawGui::QGIRichAnno::updateView(), TechDrawGui::QGIViewBalloon::updateView(), and TechDrawGui::QGIViewDimension::updateView().

◆ guiX() [4/4]

QPointF Rez::guiX ( QPointF  p)
static

References guiPt().

◆ setRezFactor()

void Rez::setRezFactor ( double  f)
static

The documentation for this class was generated from the following files: