Drawline image
BlitzMax Forums/BlitzMax Beginners Area/Drawline image| 
 | ||
| Hi ! - i want replace the classic drawline with another function that use an image and scale it. the Image width is 1px and Image height 3 px. Have you and idea to do this ? Thanks ! | 
| 
 | ||
| If you need it to be 100 pixels long, try SetScale(1.0, 100.0) and draw it at the leftmost bit. For up/down you will need to rotate by 90 and swap the scale factors. | 
| 
 | ||
| you can use DrawImageRect but you are going to have to figure out a way to center the x,y axis sense the axis will always be in the top left corner. I have done this before so if you need me to post source  code for you, just let me know and I can work a quick sample for you. | 
| 
 | ||
| finally i updated this code : http://www.blitzbasic.com/Community/posts.php?topic=85427#966668 Thanks for the help ! |