Le 13 sept. 11 à 13:44, Christian Schmitz a écrit:

> Am 13.09.2011 um 13:41 schrieb Arnaud Nicolet:
>
>> Greetings!
>>
>> Almost all is clear, except the "flush" step. For the "drawing" step,
>> I use Pict=CGCreateImageMBS(p,q). Does that not also flushes? What
>> other method would "flush" my drawing?
>
> well, somewhere you draw and CGContextMBS has a flush method. Or  
> what do you mean?

Without ever using the flush method, all draws fine (until I change  
the picture and mask), so for now, I don't use the flush method (and  
didn't know it existed).
Ok, so in my paint event, I have a CGContext (this is the only place).  
If I want to call its flush method, I first have to use self.refresh  
(to invoke the paint event) and let it call the flush method? This  
sounds weird to me, because it'd call refresh prior to flush.
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to