Problem: I cannot draw the XFT text in the buffer.

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

Submitted by merblud on Thu, 06/05/2008 - 16:26.

I draw the text in the offscreen buffer. I use function XmStringDraw.
Then I copy it on the screen. Such way does not work, when the text is drawn via XFT. I think, that the reason in the following circumstance. Before creating XftDraw OpenMotif tries to receive attributes of window in which it is necessary to draw the text. As in my case it not a window, and Pixmap there is a mistake. The XftDraw is not created correctly. The XFT text is not drawn. How to solve this problem?

Thu, 07/26/2012 - 12:18
#1
9 posts / 0 new
Last post
56
Thu, 07/26/2012 - 12:18
41
Thu, 07/26/2012 - 12:18
40
Thu, 07/26/2012 - 12:19
35
Thu, 07/26/2012 - 12:19
10
Thu, 07/26/2012 - 12:19
-20
Thu, 07/26/2012 - 12:18
-35
 
Thu, 07/26/2012 - 12:18
-57
Thu, 07/26/2012 - 12:18