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. Trying to create a "Paint Brush," Tool, having some trouble
Forum Updated to NodeBB v4.3 + New Features

Trying to create a "Paint Brush," Tool, having some trouble

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 556 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    cuddlykittens11
    wrote on last edited by
    #1

    I'm trying to create a "Paint Brush," tool for a drawing applicaiton I'm working. I was hoping I could use QPainterPath to let the user draw the line, then let QPainter render the line with a Qt::RadialGradientPattern, but that doesn't seem to be working.

    Are there any other idea I could try to acchive this?

    1 Reply Last reply
    0
    • E Offline
      E Offline
      euchkatzl
      wrote on last edited by
      #2

      Search for the Path Stroke qt example.
      When you have examples installed just go to your welcome Page in Qt Creator and search for it.

      That could be what you want.

      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