cast floats to int
add line width
add quality settings