These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:11 pm Advanced search

reset canvas clip region

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

reset canvas clip region

Postby vsedach » Thu Aug 05, 2010 7:38 pm

If my understanding is correct, there is no way to reset a clipping region in canvas, only narrow it. So the way to work with clipping regions is to use save/restore. Is this correct, or am I missing something?
vsedach
<h6>
 
Posts: 2
Joined: Thu Aug 05, 2010 7:34 pm

Postby vsedach » Wed Aug 18, 2010 5:06 pm

To answer my own question: this appears to be correct, there is no way to reset the clipping region in the current state, you need to use save() to get a fresh clipping region and manage whatever parts of the state you want to keep yourself.
vsedach
<h6>
 
Posts: 2
Joined: Thu Aug 05, 2010 7:34 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests