Is it possible to make a proc which would generate bounding boxes for an object based on the first and last "filled in" pixels along the object icon's x and y axis?
The proc would properly set the object's bound_x, bound_y, bound_height, and bound_width variables based on the object icon's properties.
How would this be done? Or, if you have a better idea please say. Thanks.
|
||||||||||||||||||||||||