Implemented hatch brushes
Added null checks for output parameters
Changed bitmap brush interpolation mode to nearest neighbor
Added missing check for already acquired resources when acquiring a bitmap brush
Removed non-conforming whitespace