Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Load part of an image by coordinates

    QML and Qt Quick
    3
    3
    337
    Loading More Posts
    • 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.
    • S
      Son Nguyen Ngoc last edited by Son Nguyen Ngoc

      Hi guys,

      I want to load part of an image by coordinates, which is in middle of this image. For example, i want to make a clock and 12 numbers of this clock is loaded from an image.

      0_1526960747314_Image_Merge_1to9.png

      Thanks

      ODБOï raven-worx 2 Replies Last reply Reply Quote 0
      • ODБOï
        ODБOï @Son Nguyen Ngoc last edited by

        Hello,
        Maybe using sprite can help you.
        there are lot of exemples : https://evileg.com/en/post/177/

        1 Reply Last reply Reply Quote 1
        • raven-worx
          raven-worx Moderators @Son Nguyen Ngoc last edited by

          @Son-Nguyen-Ngoc
          QPixmap::copy()

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply Reply Quote 3
          • First post
            Last post