Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. brush problem...

brush problem...

Scheduled Pinned Locked Moved C#
questiondata-structureshelptutorial
6 Posts 4 Posters 0 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.
  • S Offline
    S Offline
    Sajjad Izadi
    wrote on last edited by
    #1

    hello friends, how can i make a simple, soft and nice brush like that is in the microsoft paint? My solution was to draw consecutive circles in my mouse drag event and add them to the array list and then repaint all circles in the array list. but some of the events of mouse drag are missed and this make my brush dotted. i want to know how can i make it more smooth. please guide me. thanks

    modified on Wednesday, September 17, 2008 1:41 PM

    S H 2 Replies Last reply
    0
    • S Sajjad Izadi

      hello friends, how can i make a simple, soft and nice brush like that is in the microsoft paint? My solution was to draw consecutive circles in my mouse drag event and add them to the array list and then repaint all circles in the array list. but some of the events of mouse drag are missed and this make my brush dotted. i want to know how can i make it more smooth. please guide me. thanks

      modified on Wednesday, September 17, 2008 1:41 PM

      S Offline
      S Offline
      Syed Mehroz Alam
      wrote on last edited by
      #2

      Sajjad Izadi wrote:

      My solution was to draw consecutive circles in my mouse drag event and add them to the array list and then repaint all circles in the array list.

      Seems you will also need to join the circles to get an smooth effect. Regards, Syed Mehroz Alam

      My Blog My Articles

      S 1 Reply Last reply
      0
      • S Syed Mehroz Alam

        Sajjad Izadi wrote:

        My solution was to draw consecutive circles in my mouse drag event and add them to the array list and then repaint all circles in the array list.

        Seems you will also need to join the circles to get an smooth effect. Regards, Syed Mehroz Alam

        My Blog My Articles

        S Offline
        S Offline
        Sajjad Izadi
        wrote on last edited by
        #3

        yes yes, that's it. but the way to solve...?

        1 Reply Last reply
        0
        • S Sajjad Izadi

          hello friends, how can i make a simple, soft and nice brush like that is in the microsoft paint? My solution was to draw consecutive circles in my mouse drag event and add them to the array list and then repaint all circles in the array list. but some of the events of mouse drag are missed and this make my brush dotted. i want to know how can i make it more smooth. please guide me. thanks

          modified on Wednesday, September 17, 2008 1:41 PM

          H Offline
          H Offline
          Harvey Saayman
          wrote on last edited by
          #4

          your in the wrong forum, try graphics

          Harvey Saayman - South Africa Junior Developer .Net, C#, SQL you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer) 1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

          G 1 Reply Last reply
          0
          • H Harvey Saayman

            your in the wrong forum, try graphics

            Harvey Saayman - South Africa Junior Developer .Net, C#, SQL you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer) 1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

            G Offline
            G Offline
            Guffa
            wrote on last edited by
            #5

            Harvey Saayman wrote:

            1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

            Yes, it does. But you spelled "I'm" as "im"... ;) 44 6F 20 79 6F 75 20 72 65 61 64 20 68 65 78 20 61 6C 73 6F 3F

            Despite everything, the person most likely to be fooling you next is yourself.

            H 1 Reply Last reply
            0
            • G Guffa

              Harvey Saayman wrote:

              1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

              Yes, it does. But you spelled "I'm" as "im"... ;) 44 6F 20 79 6F 75 20 72 65 61 64 20 68 65 78 20 61 6C 73 6F 3F

              Despite everything, the person most likely to be fooling you next is yourself.

              H Offline
              H Offline
              Harvey Saayman
              wrote on last edited by
              #6

              Guffa wrote:

              44 6F 20 79 6F 75 20 72 65 61 64 20 68 65 78 20 61 6C 73 6F 3F

              apparently i can ;P octal too if i really have to

              Harvey Saayman - South Africa Junior Developer .Net, C#, SQL you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer) 1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups