Skip to content

Added fontScale behavior description to putText() documentation#26778

Merged
asmorkalov merged 1 commit intoopencv:4.xfrom
vidipsingh:doc-fix-fontscale-behavior-puttext
Jan 21, 2025
Merged

Added fontScale behavior description to putText() documentation#26778
asmorkalov merged 1 commit intoopencv:4.xfrom
vidipsingh:doc-fix-fontscale-behavior-puttext

Conversation

@vidipsingh
Copy link
Copy Markdown
Contributor

  • Updated the documentation of the putText function to clarify the behavior of the fontScale parameter.
  • Explained how fontScale affects text rendering: magnifying (>1), minimizing (<1), and mirroring (<0).

Fixes #26730

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

- Updated the documentation of the putText function to clarify the behavior of the fontScale parameter.
- Explained how fontScale affects text rendering: magnifying (>1), minimizing (<1), and mirroring (<0).
@shyama7004
Copy link
Copy Markdown
Contributor

@vidipsingh, there is already a PR regrading this, #26764.

@vidipsingh
Copy link
Copy Markdown
Contributor Author

@vidipsingh, there is already a PR regrading this, #26764.

Thank you for letting me know! Should I close my PR then? Since the previous PR wasn't linked to the issue, I assumed there was no PR raised for it so far.

@asmorkalov asmorkalov added the category: documentation Documentation fix or update label Jan 21, 2025
@asmorkalov asmorkalov merged commit 459bb12 into opencv:4.x Jan 21, 2025
@asmorkalov asmorkalov added this to the 4.12.0 milestone Jan 21, 2025
@asmorkalov asmorkalov mentioned this pull request Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: documentation Documentation fix or update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

putText() font scale value behavior needs to be added.

3 participants