It is currently Mon Mar 27, 2017 1:27 pm



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: P168 Gr.bounded.touch touched, left, top, right, bottom
Unread postPosted: Thu Mar 23, 2017 12:48 pm 
Offline

Joined: Sat Mar 11, 2017 5:49 am
Posts: 13
Maybe i am missing something, but in the manua! It says:

If the parameters that you used in Gr.scale were scale_x and scale_y (Gr.scale scale_x, scale_y) then divide left and right by scale_x and divide top and bottom by scale_y.

gr.open 255, 0, 0, 0
gr.orientation 1
gr.screen w,h
scx = 1000
scy = 1400
sx = w/scx
sy = h/scy
gr.scale sx,sy
gr.color 255,255,255,255,1
gr.rect p,115,680,375,780
gr.render
do
gr.bounded.touch F, 115*sx,680*sy,375*sx,780*sy
until F
But this code only works , the way posted here
So i multiply instead of divide

Regards
Danny


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: mjcoon and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred