Im talking about clipTL and clipBR
need to be able to clip negative areas (i.e. create holes in a HUD element where it wont be drawn)
also need to be able to clip diagonally and optimally in curves as well.
Im thinking something like function support for the clip tools such as:
clipL [] {(((y-0.5)*(y-0.5))/10)} which would basically draw a line like "(" on the left side of the HUD and everything left of that line is clipped out. (there would need to be X and Y variables which you could use in the function (X variable for clipT and clipB and Y variable for clipL and clipR)
for the hole cutting thing, it should be usable within an element, so maybe something like
class Draw {
class randomElement {
clipL[] = {(((y-0.5)*(y-0.5))/10)}; clipR[] = {(1-(((y-0.5)*(y-0.5))/10))}; // would clip the HUD like ( ) hole1[] = {{0.45, 0.45}, {0.55, 0.55}}; // would create a 0.1x0.1 hole in the center of the draw area where this element would not be drawn points[] = {...};
};
};
it would be great if there could be more than 1 hole in each element, so maybe like hole1[], hole2[]