mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-02 13:17:48 -04:00
ATV Modulator: reposition text overlay origin point
This commit is contained in:
parent
14e27dc4b3
commit
a88bc52530
@ -856,7 +856,7 @@ void ATVMod::mixImageAndText(cv::Mat& image)
|
|||||||
baseline += thickness;
|
baseline += thickness;
|
||||||
|
|
||||||
// position the text in the top left corner
|
// position the text in the top left corner
|
||||||
cv::Point textOrg(4, textSize.height+4);
|
cv::Point textOrg(6, textSize.height+10);
|
||||||
// then put the text itself
|
// then put the text itself
|
||||||
cv::putText(image, m_overlayText, textOrg, fontFace, fontScale, cv::Scalar::all(255*m_running.m_uniformLevel), thickness, CV_AA);
|
cv::putText(image, m_overlayText, textOrg, fontFace, fontScale, cv::Scalar::all(255*m_running.m_uniformLevel), thickness, CV_AA);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user