Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > OOP Powerplant for Mac > Hot to rorate t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 453 of 482
Post > Topic >>

Hot to rorate text using QuickTime API

by "Neel" <nilesh_ibmr@[EMAIL PROTECTED] > May 18, 2006 at 06:09 AM

Hi,
One of the module of my project of Landscap Re****t needs, where text is
shown rotated by 90 degrees/ exactly vertically. I don=B4t know, how to
rotate this text.  I have seen past threads related to the same, also
found CCapionPlus class has been written to resolve the same issue,but
could not locate the same. Can anyone tell me which API should i use to
put /draw text vertically. Can i use MacDrawText(...) ?

Can anyone help me to solve.

This is the code which draw text horizontally.

//  Prints the Text at the specified position
virtual void DrawString(int f_nX, int f_nY, char *f_cpStr)
{
	::RGBForeColor(&m_sRGB_Text);
	MoveTo(f_nX, f_nY + 12);
	::DrawText((void *) f_cpStr, 0, strlen(f_cpStr));

	if ( m_bLandScapeMode )
	{
		// Here want to draw text vertically / rotate to 90 degree.
	}
}
//////////////////////////////////////////////////////////////////
 




 7 Posts in Topic:
Hot to rorate text using QuickTime API
"Neel" <nile  2006-05-18 06:09:09 
Re: Hot to rorate text using QuickTime API
David Phillip Oster <o  2006-05-18 14:35:01 
Re: Hot to rorate text using QuickTime API
david ralley <ralley.2  2006-05-18 10:39:28 
Re: How to rotate text using QuickTime API
David Phillip Oster <o  2006-05-20 02:46:20 
Re: Hot to rorate text using QuickTime API
"Neel" <nile  2006-05-19 02:26:50 
Re: Hot to rorate text using QuickTime API
"Neel" <nile  2006-05-19 03:34:01 
Re: How to rotate text using QuickTime API
David Phillip Oster <o  2006-05-20 03:43:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 17:48:50 CDT 2008.