mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Some new dimensions
This commit is contained in:
@ -1152,6 +1152,14 @@ QPointF PDFPickTool::getSnappedPoint() const
|
||||
return m_snapper.getSnappedPoint();
|
||||
}
|
||||
|
||||
void PDFPickTool::setCustomSnapPoints(PDFInteger pageIndex, const std::vector<QPointF>& snapPoints)
|
||||
{
|
||||
if (m_pageIndex == pageIndex)
|
||||
{
|
||||
m_snapper.setCustomSnapPoints(snapPoints);
|
||||
}
|
||||
}
|
||||
|
||||
void PDFPickTool::setActiveImpl(bool active)
|
||||
{
|
||||
BaseClass::setActiveImpl(active);
|
||||
|
Reference in New Issue
Block a user