MCPcopy Create free account
hub / github.com/XRay3D/GERBER_X3 / rect

Method rect

shape_plugins/shape/shhandler.cpp:141–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139void Handler::setHType(const HType& value) { m_hType = value; }
140
141QRectF Handler::rect() const
142{
143 const double scale = App::graphicsView()->scaleFactor();
144 const double k = Size * scale;
145 const double s = k * 2;
146 return { QPointF(-k, -k), QSizeF(s, s) };
147}
148
149void Handler::savePos()
150{

Callers 4

DrillFormMethod · 0.80
DrawMousePosTickMethod · 0.80
getViewRectMethod · 0.80
GetThumbnailMethod · 0.80

Calls 1

scaleFactorMethod · 0.45

Tested by

no test coverage detected