Extend layout sheet paper size to cover coner cases.
--HG-- branch : develop
This commit is contained in:
parent
5ed2134a29
commit
762ee18026
|
@ -507,7 +507,8 @@ VPosition::CrossingType VPosition::Crossing(const VLayoutPiece &detail) const
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
bool VPosition::SheetContains(const QRectF &rect) const
|
bool VPosition::SheetContains(const QRectF &rect) const
|
||||||
{
|
{
|
||||||
const QRectF bRect(0, 0, m_data.gContour.GetWidth(), m_data.gContour.GetHeight());
|
const QRectF bRect(-accuracyPointOnLine, -accuracyPointOnLine, m_data.gContour.GetWidth()+accuracyPointOnLine,
|
||||||
|
m_data.gContour.GetHeight()+accuracyPointOnLine);
|
||||||
return bRect.contains(rect);
|
return bRect.contains(rect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user