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. ideas...

ideas...

Scheduled Pinned Locked Moved C#
csharpgraphicsquestion
14 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.
  • D Dave Kreskowiak

    Here's [^] about as simple an example as I can find.

    A guide to posting questions on CodeProject[^]
    Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
         2006, 2007

    M Offline
    M Offline
    MasterSharp
    wrote on last edited by
    #5

    Hey, I'll take anything. Thanks a lot!

    The most knowledge doesn't mean the most wise...

    M 1 Reply Last reply
    0
    • M MasterSharp

      Hey, I'll take anything. Thanks a lot!

      The most knowledge doesn't mean the most wise...

      M Offline
      M Offline
      MasterSharp
      wrote on last edited by
      #6

      Also, is there any way to make lines in an app anti-aliased?

      The most knowledge doesn't mean the most wise...

      M 1 Reply Last reply
      0
      • M MasterSharp

        Also, is there any way to make lines in an app anti-aliased?

        The most knowledge doesn't mean the most wise...

        M Offline
        M Offline
        Marshall
        wrote on last edited by
        #7

        MasterSharp wrote:

        Also, is there any way to make lines in an app anti-aliased?

        Yes. If you are drawing in a graphics container, you can set the SmoothingMode to AntiAlias. This will not affect the text, but will affect lines in the container. Check out the MSDN documentation for Graphics.SmoothingMode. Marshall

        If you continue to do the same things you always did,
        don't be surprised if you get the same results you always got.

        M 1 Reply Last reply
        0
        • M Marshall

          MasterSharp wrote:

          Also, is there any way to make lines in an app anti-aliased?

          Yes. If you are drawing in a graphics container, you can set the SmoothingMode to AntiAlias. This will not affect the text, but will affect lines in the container. Check out the MSDN documentation for Graphics.SmoothingMode. Marshall

          If you continue to do the same things you always did,
          don't be surprised if you get the same results you always got.

          M Offline
          M Offline
          MasterSharp
          wrote on last edited by
          #8

          Where is smoothingmode? Is it an extra using statement? Also, do you know the code to, while the mouse is clicked over a picturebox, that you can drag it around? I checked out the drag and drop events, but I don't see... Thanks, tough.

          The most knowledge doesn't mean the most wise...

          M 1 Reply Last reply
          0
          • M MasterSharp

            Where is smoothingmode? Is it an extra using statement? Also, do you know the code to, while the mouse is clicked over a picturebox, that you can drag it around? I checked out the drag and drop events, but I don't see... Thanks, tough.

            The most knowledge doesn't mean the most wise...

            M Offline
            M Offline
            MasterSharp
            wrote on last edited by
            #9

            I found smoothingmode. Thanks, but can you still help with the other thing?

            The most knowledge doesn't mean the most wise...

            M M 2 Replies Last reply
            0
            • M MasterSharp

              I found smoothingmode. Thanks, but can you still help with the other thing?

              The most knowledge doesn't mean the most wise...

              M Offline
              M Offline
              MasterSharp
              wrote on last edited by
              #10

              Can I use more than one of the coices in smoothingmode at once?

              The most knowledge doesn't mean the most wise...

              M 1 Reply Last reply
              0
              • M MasterSharp

                Can I use more than one of the coices in smoothingmode at once?

                The most knowledge doesn't mean the most wise...

                M Offline
                M Offline
                Marshall
                wrote on last edited by
                #11

                No you can't use more than one choice. Marshall

                If you continue to do the same things you always did,
                don't be surprised if you get the same results you always got.

                M 1 Reply Last reply
                0
                • M MasterSharp

                  I found smoothingmode. Thanks, but can you still help with the other thing?

                  The most knowledge doesn't mean the most wise...

                  M Offline
                  M Offline
                  Marshall
                  wrote on last edited by
                  #12

                  Pardon me for saying so, but it sounds to me like you are in way over your head. You are simply writing code without any understanding of what it means. I suggest you slow down, read and understand the documentation. Then think about how each object works and how you can manipulate it to accomplish your goal. If you do that, you will quickly see the answer to your question. Getting fast answers on the web is not going to help you in the long run. I am not trying to insult you and hope you see that. I am only trying to give you good advice. Marshall

                  If you continue to do the same things you always did,
                  don't be surprised if you get the same results you always got.

                  M 1 Reply Last reply
                  0
                  • M Marshall

                    No you can't use more than one choice. Marshall

                    If you continue to do the same things you always did,
                    don't be surprised if you get the same results you always got.

                    M Offline
                    M Offline
                    MasterSharp
                    wrote on last edited by
                    #13

                    Do you know anything about the dragging thing?

                    The most knowledge doesn't mean the most wise...

                    1 Reply Last reply
                    0
                    • M Marshall

                      Pardon me for saying so, but it sounds to me like you are in way over your head. You are simply writing code without any understanding of what it means. I suggest you slow down, read and understand the documentation. Then think about how each object works and how you can manipulate it to accomplish your goal. If you do that, you will quickly see the answer to your question. Getting fast answers on the web is not going to help you in the long run. I am not trying to insult you and hope you see that. I am only trying to give you good advice. Marshall

                      If you continue to do the same things you always did,
                      don't be surprised if you get the same results you always got.

                      M Offline
                      M Offline
                      MasterSharp
                      wrote on last edited by
                      #14

                      Yes, I understand, and I know a bit more than how I seem, though I'm undoubtably a beginner.THat was a stupid question if I could use more than one...

                      The most knowledge doesn't mean the most wise...

                      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