how to use Tx3gDescriptionHandle

2009-09-09 Thread Sandeep Nair
Hi, anybody know how to use Tx3gDescriptionHandle? Tx3gDescriptionHandle tHandle = (Tx3gDescriptionHandle)NewHandle(sizeof (Tx3gDescription)); (*tHandle)->dataFormat = kTx3gSampleType; (*tHandle)->resvd1 = 1; (*tHandle)->resvd2 = 1; (*tHandle)->displayFlags = 1; (*tHandle)->horizontalJustification

Text Track to Subtitle Track

2009-06-22 Thread Sandeep Nair
Hi, Anybody know how to convert a text track to subtitle track. i have doubt in how to read samples from a text track and add it in a subtitle track??? Thanks in Advance Sandeep ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Subtitle Track

2009-06-15 Thread Sandeep Nair
Hi, can anybody tell the difference between text track and subtitle track. I know to add a text track to a movie, how can i add a subtitle track. can i add more than two language foe subtitle track? is there any source regarding subtitle? Thanks in advance regards Sandeep

Re: Wrapping of text around an image or shape.

2008-11-05 Thread Sandeep Nair
at 12:39 am, Sandeep Nair wrote: > > Hi All, >> I am trying to do text wrapping like pages app does. >> i added a View as subview of NSTextView. >> i want the text inside the TextView to wrap around >> the subview rect (as like in the pages app). >> [] >&

Re: Wrapping of text around an image or shape.

2008-11-05 Thread Sandeep Nair
is there any sample code regarding this ??? On Wed, Nov 5, 2008 at 7:09 PM, Sandeep Nair <[EMAIL PROTECTED]>wrote: > Hi All, > I am trying to do text wrapping like pages app does. > i added a View as subview of NSTextView. > i want the text inside the TextView to wrap around

Wrapping of text around an image or shape.

2008-11-05 Thread Sandeep Nair
Hi All, I am trying to do text wrapping like pages app does. i added a View as subview of NSTextView. i want the text inside the TextView to wrap around the subview rect (as like in the pages app). for (glyphIndex = glyphRange.location; glyphIndex < NSMaxRange(glyphRange); glyphIndex++) { NSPoint

String Encoding problem with Unicode

2008-07-10 Thread Sandeep Nair
Sir, i want to convert a NSString to CString using Unicode Encoding. strcpy(cString, [nsString cStringUsingEncoding:NSUnicodeStringEncoding ]); (or) CFStringGetCString((CFStringRef)nsString], cString,1024, CFStringConvertNSStringEncodingToEncoding(NSUnicodeStringEncoding)); Here i am co