Question about: RHatch...pixelSizeHint

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
CVH
Premier Member
Posts: 3366
Joined: Wed Sep 27, 2017 4:17 pm

Question about: RHatch...pixelSizeHint

Post by CVH » Tue Dec 15, 2020 7:10 am

Andrew,
please explain pixelSizeHint of RHatchEntity::getPainterPaths
from RHatchData.cpp

Code: Select all

 * \param pixelSizeHint Pixel size hint for rendering arcs.
Has this to do with making a polygon to crop from the boundary/-ies?
(RHatchData::getBoundaryPath pixelSizeHint = RDEFAULT_MIN1)

From where comes the difference in defaults between :
RHatchEntity::getPainterPaths pixelSizeHint = 0.0
RHatchData::getPainterPaths pixelSizeHint = RDEFAULT_MIN1

Thanks in advance
CVH

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”