SRL Archive - Discussions & Debates

Can You..


Rs-Gp-4U

2007-12-29 09:58:45

:rolleyes: I am making a program to paints a face on MS Paint and i was wondering if you can use half of coords eg. 12.5 (etc) just at the moment on paint i've told it to go down 1 coord at a time and it comes out like;

|

|

|

So i need to cut it in 2 so can you use half of coords?

n3ss3s

2007-12-29 11:13:25

Lol, cutting
|
|
|

in two isn't a smiley.


I don't quite understand what you mean, but for the mouth:


Procedure DrawMouth(MidX, MidY, Radius: Integer);
Var
I, X, Y: Integer;
Begin
For I := 90 To 270 Do
Begin
X := MidX + Round(Radius * Cos(Radians(i - 90)));
Y := MidY + Round(Radius * Sin(Radians(i - 90)));
ClickMouse(X, Y, True);
Wait(5);
End;
End;

Rs-Gp-4U

2007-12-29 11:17:21

No no, never mind the smiley, on paint i tell it to click .. then .. but what i want to know is can have eg. 600.5 i just need to know if i can have half a cordinant because pain must have to pencil clicks down per pixel.