Updates in Context and ClientContext

- Added rasterization and drawing state.