CheckHLine
nothrow @nogc
enum CheckHLine =
q{
static if (CHECKED)
{
if (x1 >= v.w || x2 <= 0 || y < 0 || y >= v.h || x1 >= x2) return;
if (x1 < 0) x1 = 0;
if (x2 >= v.w) x2 = v.w;
}
assert(x1 <= x2);
};
dplug graphics draw
functionsmanifest constantsmixin templatestemplates