Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Working of Qtransform
Forum Updated to NodeBB v4.3 + New Features

Working of Qtransform

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 342 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dayamaD Offline
    dayamaD Offline
    dayama
    wrote on last edited by dayama
    #1

    i m newbie to QT. stuck in a problem and wanted to know how does QTransform::translate and QTransform::scale works.

    bounding rect has the coordinates as x: 20 y: 35 width: 1200 height: 1200

    child objects are drawn inside the boundaries of bounding rect.

    if bounding rect coordinates changes to x: 110 y: 35 width: 800 height: 800

    when the bounding rect coordinates changes, the child object drawn should map accordingly to new bounding rect coordinates

    after doing research figured out that QTransform::translate and QTransform::scale will help.

    thanks inadvance

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved