Results 1 to 2 of 2

Thread: Pixel Position and Printing text

  1. #1
    Join Date
    Jul 2006
    Posts
    8
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Pixel Position and Printing text

    Hi all,
    could someone please give me a tip on how to do the following. I have been reading the documenation on how to accomplish it but the light is not coming
    The first is that i want to get a pixel position from my Image
    Then i want a text written at a particular image position.

    Could someone help me with this! Thanks in advance
    nErnie

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Pixel Position and Printing text

    I do not get what you mean by getting a pixel position, but for drawing text you use the drawText method of the QPainter class.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.