[Gridflow-cvs] [svn] commit: r5499 - /trunk/src/quicktimecamera.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue Apr 20 00:24:28 EDT 2010


Author: matju
Date: Tue Apr 20 00:24:28 2010
New Revision: 5499

Log:
try again

Modified:
    trunk/src/quicktimecamera.cxx

Modified: trunk/src/quicktimecamera.cxx
==============================================================================
--- trunk/src/quicktimecamera.cxx (original)
+++ trunk/src/quicktimecamera.cxx Tue Apr 20 00:24:28 2010
@@ -310,10 +310,14 @@
 };
 
 \def 0 size (int height, int width) {
+	OSErr e = VDSetDigitizerRect(vdc,&rect);
+	if (e!=noErr) RAISE("VDGetDigitizerRect error");
+	post("rect1: top=%d left=%d bottom=%d right=%d",rect.top,rect.left,rect.bottom,rect.right);
 	dim = new Dim(height,width,dim->v[2]);
 	rect.bottom = height;
 	rect.right = width;
-	OSErr e = VDSetDigitizerRect(vdc,&rect);
+	post("rect2: top=%d left=%d bottom=%d right=%d",rect.top,rect.left,rect.bottom,rect.right);
+	e = VDSetDigitizerRect(vdc,&rect);
 	if (e!=noErr) RAISE("VDSetDigitizerRect error");
 	e = SGSetChannelBounds(m_vc,&rect);
 	if (e!=noErr) post("could not set SG ChannelBounds");



More information about the Gridflow-cvs mailing list