Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

keep the size of a line even if the screen settings are change  RSS feed

 
bumpert
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i have a weird things to do, and found nothing on google and others place...
For example, i draw a line of 1 inch into my computer where my resolution is 96dpi and my screen area is 1024x768
i need to made modification to this line to have a 1 inch line on every screen settings. example: my friend that are in 800x600 and have a dpi of 128 opn my program to see the line... i want him to see a 1 inch line too
so i need to find a way to do that so when i have the screen size and the screen resolution that i could have on the screen a 1 inch (example) line for every settings...
sorry for my english! can someone help me to find an idea...?
thx a lot
bumpert
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if this helps:

Michael Morris
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to Swing/AWT...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!