
-----------------------------------
Masta_911
Tue Jan 09, 2007 7:05 pm

Pic less than pixel move
-----------------------------------
i just wanted to know if there was a way to move a pic less than a pixel to the right, left, bottom or top...like 0.87 or sum other number

-----------------------------------
Masta_911
Tue Jan 09, 2007 7:48 pm

RE:Pic less than pixel move
-----------------------------------
Hey does no1 know if u can move a pic less then a pixel maybe half a pixel or sumthing

NO1 knowsssss

-----------------------------------
Clayton
Tue Jan 09, 2007 7:49 pm

Re: Pic less than pixel move
-----------------------------------
First of all, there is an edit button now, use it.

Second, don't beg, it makes people less likely to help you.

Third, use a real variable to hold the x and y, and round them when it comes to drawing. This is the closest you can come to what you want to do.

-----------------------------------
Masta_911
Tue Jan 09, 2007 8:44 pm

RE:Pic less than pixel move
-----------------------------------
could sum1 give me the link to an example where a round command is used or just show me how to do it

-----------------------------------
Wolf_Destiny
Tue Jan 09, 2007 8:50 pm

Re: Pic less than pixel move
-----------------------------------
Go to Turing, type in the word "round" no quotes, and press F9.

~Wolf_Destiny
Woot! V3!

-----------------------------------
Cervantes
Tue Jan 09, 2007 8:53 pm

Re: Pic less than pixel move
-----------------------------------
It's very simple:


var x, y : real
x := 10.5
y := 9.87

Pic.Draw (my_pic, round (x), round (y), draw_mode)

assuming my_pic and draw_mode are variables for the picture you want to draw and the drawing mode (picCopy, picMerge, picUnderMerge, etc).
