Sharplib addition, gate drawing changed

DrawRounded now takes 4 optional parameters, indicating whether or not
to draw each corner rounded.