Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. An app like MS paint on embedded system.

An app like MS paint on embedded system.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 287 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.
  • K Offline
    K Offline
    Kevin.Wu
    wrote on last edited by
    #1

    Hi, guys.
    I want to make an app like MS paint on an ARM device. The basic functions include drawing line, rect, circle and other graphs. Take the line for example, click the left button to determine the first point, and when I move the mouse, everytime the mouseMoveEvent response, I need to update the screen, and redraw the line from first point to current point. But the screen flickers badly and the move is not smooth. Is there a better way to optimize the process ? Also , If I have drawn some graphs, I can't just use update, I need to keep the graphs on the screen when I'm drawing new line. Maybe It's an easy question, I'm new to QT, Thanks for giving any advice!

    jsulmJ 1 Reply Last reply
    0
    • K Kevin.Wu

      Hi, guys.
      I want to make an app like MS paint on an ARM device. The basic functions include drawing line, rect, circle and other graphs. Take the line for example, click the left button to determine the first point, and when I move the mouse, everytime the mouseMoveEvent response, I need to update the screen, and redraw the line from first point to current point. But the screen flickers badly and the move is not smooth. Is there a better way to optimize the process ? Also , If I have drawn some graphs, I can't just use update, I need to keep the graphs on the screen when I'm drawing new line. Maybe It's an easy question, I'm new to QT, Thanks for giving any advice!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Kevin.Wu You should show how you're drawing.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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