Re: Quartz and QuickTime Movies... ?
Re: Quartz and QuickTime Movies... ?
- Subject: Re: Quartz and QuickTime Movies... ?
- From: in a great fig-tree growing <email@hidden>
- Date: Wed, 23 Jun 2004 23:44:43 -0700
Hi Dan,
>
I think that you're trying to create a QT movie
>
using the contents of a
>
GWorld.
yeah, well... I'm trying to get Quartz into a Quicktime movie... but I don't
know so much about Quartz. perhaps there's a better way?
>
You can obtain a CGContextRef for that GWorld using:
>
>
QDBeginCGContext(GWorldPtr gw, CGContextRef *outContext);
>
>
You can then draw into the context (provided it's non-null) using your
>
favorite CGContext drawing calls. Once you're finished, you call:
>
>
QDEndCGContext(GWorldPtr gw, CGContextRef *inoutContext);
>
>
which should flush the CG calls into the GWorldPtr. You should be able
>
to continue with the GWorldPtr as you described.
>
>
The only problem that I can think of is that the CGContextRef usually
>
requires either a 16 or 32 bits per pixel deep buffer, so you might
>
consider that if you're having some problems with drawing.
that looks like it should do the trick but I'm still at sixes and sevens.
either it crashes or does nothing... hummmmmm.
hey thank you for the pointer!
Akira
__chaos_______to_
oO
http://AkiraRabelais.com
_______bliss__oO
chaos
chaps
chapt
coapt
coast
hoast
hoist
hoise
noise
noisy
noily
soily
saily
sadly
madly
sadly
sally
selly
sells
seals
sears
stars
stays
slays
slaps
slips
blips
bliss
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.