Re: Drawing text in a bounding box

2004-08-16 Thread flescell
Quoting Thomas Dickey [EMAIL PROTECTED]:

 On Sun, 15 Aug 2004 [EMAIL PROTECTED] wrote:

  Hi all,
 
  I hope I am writing to the appropriate list for this question. If not,
 please
  tell me.
 
  I'm new to X programming and I want to draw some text in a bounding box.
 I've
  looked in the Xlib manual and saw no function to do what i want.
 
  For example I want to draw some text starting at position 10,40, but I only
 want
  the part in the box (5,50)-(15,70) to be actually drawn.

 I've used XSetClipRectangles in this sort of case (apropos clip should
 show the related functions).

Thank you very much.
This is exactly what i was looking for. I don't know why I didn't find it in the
doc.

Regards,
Fabien
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Drawing text in a bounding box

2004-08-15 Thread flescell
Hi all,

I hope I am writing to the appropriate list for this question. If not, please
tell me.

I'm new to X programming and I want to draw some text in a bounding box. I've
looked in the Xlib manual and saw no function to do what i want.

For example I want to draw some text starting at position 10,40, but I only want
the part in the box (5,50)-(15,70) to be actually drawn.

How can I do it ?

Thank you

FLD
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel