[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] [Cairo] Recording surface - how to stop/resume recording
From:       Zoltán Turányi <teknos () gmail ! com>
Date:       2011-02-27 21:33:52
Message-ID: AANLkTin8ffpeO_2FR2aOYp+Z_xzjSABjWev46_C2S5Dj () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

I guess you can stop and resume drawing to a recording surface by simply not
making any drawing operations to it (and then start drawing on it again). To
save the state of a recording, I would create a second recording surface and
replay the current status of the first recording surface onto the second
one. This would create two identical recording surfaces and you can continue
drawing on any one, while have the other as "saved". (I have not tested
this.)

Zoltan

2011/2/23 hyeonji Kim <hyeonji1021@gmail.com>

> Hi
> I wonder if Cairo can stop/resume "recording" during recording surface?
> Is it possible that cairo save the recording status during the recording
> suface and stop the recording, then resume the recording?
>
> Could you explain how to stop/resume recording if Cairo have "stop/resume"
> sequence during recording surface?
>
> Thank you.
>
>
>
> --
> cairo mailing list
> cairo@cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>

[Attachment #5 (text/html)]

Hi,<div><br></div><div>I guess you can stop and resume drawing to a recording surface \
by simply not making any drawing operations to it (and then start drawing on it \
again). To save the state of a recording, I would create a second recording surface \
and replay the current status of the first recording surface onto the second one. \
This would create two identical recording surfaces and you can continue drawing on \
any one, while have the other as &quot;saved&quot;. (I have not tested this.)</div> \
<div><br></div><div>Zoltan<br><br><div class="gmail_quote">2011/2/23 hyeonji Kim \
<span dir="ltr">&lt;<a \
href="mailto:hyeonji1021@gmail.com">hyeonji1021@gmail.com</a>&gt;</span><br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;"> <div>Hi</div>
<div>I wonder if Cairo  can stop/resume  &quot;recording&quot;  during  recording \
surface?</div> <div>Is it possible that cairo save the recording status during the \
recording suface and  stop the recording, then resume the recording?</div> <div>  \
</div> <div>Could you explain how to stop/resume recording  if Cairo have \
&quot;stop/resume&quot; sequence during recording surface?</div> <div>  </div>
<div>Thank you.</div>
<div>  </div>
<div>  </div>
<br>--<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" \
target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br></blockquote></div><br></div>




--
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic