Locate text per pixel

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
Davdof
Newbie
Posts:2
Joined:Sun Dec 20, 2009 1:22 pm
Locate text per pixel

Post by Davdof » Sun Dec 20, 2009 2:01 pm

Hello everybody, greetings from the Netherlands,

I've been following this forum quite some time now, and I must say, the wisdom of others is sometimes truely helpful.

I lately programmed a prog in QB45 that can solve japanese puzzles (Example).
For this program, I need to have text positioned pixel by pixel (so I can show the digits of the puzzle next to the grid, see example). But the only way to locate text seems to be with 'LOCATE' - and then I am bound to the fixed 20-something lines.
Does anybody here know how to locate text per pixel? (and how to make the text smaller or larger?)

Thanks in advance,
David

User avatar
BurgerBytes
Jr. Member
Posts:22
Joined:Thu Aug 06, 2009 7:44 pm
Location:Pittsburgh, PA, United States

Post by BurgerBytes » Wed Dec 23, 2009 11:29 pm

I seriously doubt you can fit all of that into one screen, but you will need to create small numbers using graphics. Try DRAW and SCREEN 12. The smallest number block would be 2 by 4 high.

SCREEN 12 is 640 by 480 high.

Ted
Get my QB demonstrator here: http://dl.dropbox.com/u/8440706/Q-Basics.zip

Davdof
Newbie
Posts:2
Joined:Sun Dec 20, 2009 1:22 pm

Post by Davdof » Thu Jan 07, 2010 2:04 pm

OK, thanks. No other way than the hard way apparently :(

Post Reply