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. HEEEEELP!!!!

HEEEEELP!!!!

Scheduled Pinned Locked Moved C#
question
5 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Greetings!!! I was thinking, isn't it possible to change the coordinate system of the form, like in vb, so that (0,0) is in the bottom left corner???

    S S R 3 Replies Last reply
    0
    • L Lost User

      Greetings!!! I was thinking, isn't it possible to change the coordinate system of the form, like in vb, so that (0,0) is in the bottom left corner???

      S Offline
      S Offline
      SimonS
      wrote on last edited by
      #2

      I doubt it, but it would be a trivial thing to do on your own. What do you want to do this for anyway? Cheers, Simon "Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond

      1 Reply Last reply
      0
      • L Lost User

        Greetings!!! I was thinking, isn't it possible to change the coordinate system of the form, like in vb, so that (0,0) is in the bottom left corner???

        S Offline
        S Offline
        sultan_of_6string
        wrote on last edited by
        #3

        Sounds like your making a graph. Well, whatever it is, you could easily write a translation function. I don't know what the properties and function names are, but the following pseudo-code should give you the idea Point TranslatePoint(Point p) { Point q; q.x = p.x; q.y = Window.Height - p.y; return q; }

        1 Reply Last reply
        0
        • L Lost User

          Greetings!!! I was thinking, isn't it possible to change the coordinate system of the form, like in vb, so that (0,0) is in the bottom left corner???

          R Offline
          R Offline
          Rama Krishna Vavilala
          wrote on last edited by
          #4

          Look at Graphics.Transform property. This will help you specify a tranformation matrix that you can use. I have never wasted time worrying about such insignificant things. Keep your eye upon the donut and NOT upon the hole. - Bill Sergio about posting in the right forum. The Lounge - June 23, 2002

          L 1 Reply Last reply
          0
          • R Rama Krishna Vavilala

            Look at Graphics.Transform property. This will help you specify a tranformation matrix that you can use. I have never wasted time worrying about such insignificant things. Keep your eye upon the donut and NOT upon the hole. - Bill Sergio about posting in the right forum. The Lounge - June 23, 2002

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Well what i'm gonna use it for is just to play around with some basic game physics (very basic). I'm quite new at C# so I din't know if there was a funktion that could alter the coordinate system of the form, like in vb... I just figuered that it would be the easist approch..... Well thanks again....

            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