Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Coordinate system  RSS feed

 
Inuka Jayasekera
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have tried looking everywhere and finding this out but I haven't had much luck. My problem is that I need to change the default coordinate system in a JPanel (with y incresing from top to bottom) to the standard coordinate system (with y increasing from bottom to top).
From what I have read, there is a "User Coordinate System" feature but I can't figure anything else about it.
Can anyone help??
Thanks in advance... )
 
Eddie Vanda
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could just subtract each y coord from a constant, say the screen pixel height.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!