draw

inline fun <T> draw(matrix: Matrix, body: () -> T): T

Prepares for drawing a set of lines with the specified matrix. It flushes all other contexts, and the set matrix.