Hi
I want to draw text with style and matrix transformation.
CGAffineTransform trans;
trans = ...;
fCGContext->SetTextMatrix(trans);
this fonction work but then I'm not able to use the style.
If I use ATSU routine I got the style but
theTags[0] = 289L;//kATSUFontMatrixTag = 289L;
theSizes[0] = sizeof(CGAffineTransform);
theValues[0] = &trans;
err = ATSUSetLayoutControls
(wdataP->textLayout,1L,theTags,theSizes,theValues);
return err is kATSUInvalidAttributeTagErr = -8799
Calling ATSUSetLayoutControls with kATSUImposeWidthTag return also
kATSUInvalidAttributeTagErr
Calling ATSUSetLayoutControls with kATSUCGContextTag return also noErr
I've try to call the fonction with Mach0 but the result is the same.
Is there something I've forgot when initialisating?
Any idea.?
Thanks
Vincent
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden