Having trouble drawing text xlib.

This is a discussion on Having trouble drawing text xlib. within the Linux Programming forums, part of the Platform Specific Boards category; Hi, am having trouble drawing text using Xdrawstring, I want to draw text then update the text as it changes, ...

  1. #1
    Qui
    Qui is offline
    Registered User
    Join Date
    May 2003
    Posts
    30

    Having trouble drawing text xlib.

    Hi, am having trouble drawing text using Xdrawstring, I want to draw text then update the text as it changes, however all it does is overwrite my existing text and make the area look all garbled, is there a way to refresh the text I am drawing so it does not write on top of the text previously there.

    Thanks

  2. #2
    Qui
    Qui is offline
    Registered User
    Join Date
    May 2003
    Posts
    30
    sorted, just had to use xdrawimagestring.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DirectX | Drawing text
    By gavra in forum Game Programming
    Replies: 4
    Last Post: 06-08-2009, 12:23 AM
  2. Having trouble making a function do what I want.
    By Shamino in forum C++ Programming
    Replies: 9
    Last Post: 12-07-2007, 10:20 AM
  3. Drawing Test with Raster Op
    By genghis in forum Windows Programming
    Replies: 0
    Last Post: 07-02-2004, 12:21 AM
  4. Replies: 1
    Last Post: 07-13-2002, 05:45 PM
  5. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 09:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21