[Xpert]Drawable

2002-04-18 Thread Bharathi S

Hello All,

   How to differentiate in XDrawLine that this call for Line Cursor
   and this for normal Line drawing ?

   In single application, the drawable value in XDrawString is
   different from drawable value in XDrawLine. Why ?

   How to differentiate Pixmap and Window ?

Thank you,
-- 
--==| Bharathi S | BSB-364 DONLab | IIT-Madras |==--
Friendship hastens help in mishaps
Like hands picking up dress that slips.
*In Tirukkural of Holy Tamil poet Tiruvalluvar(200BC).

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Drawable

2002-04-18 Thread Mark Vojkovich

On Thu, 18 Apr 2002, Bharathi S wrote:

> Hello All,
> 
>How to differentiate in XDrawLine that this call for Line Cursor
>and this for normal Line drawing ?

   I don't understand the question.  What does XDrawLine have to
do with Cursors?

> 
>In single application, the drawable value in XDrawString is
>different from drawable value in XDrawLine. Why ?

   Because it's a different drawable.

> 
>How to differentiate Pixmap and Window ?

   You mean from the XID in Xlib?  You can't.


Mark.

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Drawable

2002-04-20 Thread Bharathi S

On Thu, 18 Apr 2002, Mark Vojkovich wrote:
> > 
> >How to differentiate in XDrawLine that this call for Line Cursor
> >and this for normal Line drawing ?
> 
>I don't understand the question.  
 Sorry. I am new to Xlib. So can't able to
 explain my problem.
 
>  What does XDrawLine have to do with Cursors?

 In KOffice the cursor visible in the window is a line
 for drawing that Line they are calling the XDrawline.

 Here we are doing some experiment in Xlib for
 supporting our Local languages in X. So we 
 have to manipulate the position of the cursor.

Thank you for ur reply,
-- 
--==| Bharathi S | BSB-364 DONLab | IIT-Madras |==--
Lore worth learning, learn flawlessly
Live by that learning thoroughly.
*In Tirukkural of Holy Tamil poet Tiruvalluvar.

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert