Skip to content

Maintaining same size for the text #46

@tNRevan

Description

@tNRevan

I am creating a CAD-like application. In the application, there needs to be numbers near a scale. I need the numbers to have always the same (screen) size independent of the current zoom. It uses a orthographic projection in this way CreateOrthographic(WindowWidth / ZoomScale, WindowHeight / ZoomScale, ZNear, ZFar); I set the matrix to the QFontDrawing.ProjectionMatrix. But now the text also gets scaled when the user zooms in. Is there a built-in way how to do this? Or do I have to do it myself using some matrix-magic?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions