well i want to know ho to work out the the size of the box i want, how can i do that?
well i want to know ho to work out the the size of the box i want, how can i do that?
Try getting the points of the upper left and lower right corner with scar's colorpicker. Then calculate the size of the area from the points
Edit: Lol, I'm an idiot. Didn't read the title properly![]()
Last edited by bugger0001; 06-02-2009 at 10:47 PM.
A Chinese wiseman once said: "Shu ciu!", it was considered very smart, but now people know it means: "Something stinks here!"
FalBuggySmelter v.1.31
[Updated on the 1st of March 2010]
RimmBugger BETA V1.8
If your using TPAs or ATPAs then GetATPABounds(ATPA); or GetTPABounds(TPA);
lol
thanks!!! god i am dumb!!
EDIT: Wat is the unit measured in w h for the function ?
Last edited by hackncrack1; 06-03-2009 at 01:17 AM.
sorry for double posting but i still dunno how to work out the distance i need, and u guys dont seem to read edits srry really!!
The units you want are pixels. As for what numbers to use, it depends on the average size of whatever you're trying to find.
err well how do i get that average size?
Do you want the distance between the points or the width and height of them?
lol
what i want is how to calculate the width and height and if i wanted to use tpatoatpa how to get the distance
To get the width and height all it takes is simple math:
SCAR Code:Width := Box.x2 - Box.x1;
Height := Box.y2 - Box.y1;
And to get the distance just use the distance function:
SCAR Code:PDist := Distance(p1, p2, p3, p4);
lol
What? So You put the width before the hight?!
I always thought it was the other way around
![]()
Originally Posted by irc
There are currently 1 users browsing this thread. (0 members and 1 guests)