donjames
Topic Author
Posts: 25
Joined: 27 May 2013, 16:35

text blocks matrix

17 Feb 2014, 19:37

I am having problems with setting a matrix transform on Text

For paths it works, this is what I call:
m_pPath->GetData()->SetTransform(m_pMatrixTransform.GetPtr());

But for text blocks, all I could find was this API:
m_pText->SetLayoutTransform(m_pMatrixTransform.GetPtr());

When I set it, the text disappears.

Any ideas?
Don
 
User avatar
jsantos
Site Admin
Posts: 3906
Joined: 20 Jan 2012, 17:18
Contact:

Re: text blocks matrix

18 Feb 2014, 12:26

Yes, use the RenderTransform property for changing the rendering position. For the canvas container it is the best choice.

http://www.scottlogic.com/blog/2008/12/ ... rence.html
 
donjames
Topic Author
Posts: 25
Joined: 27 May 2013, 16:35

Re: text blocks matrix

18 Feb 2014, 15:40

That works. Thanks!

Who is online

Users browsing this forum: Bing [Bot] and 6 guests