Andreas,

What exact code are you using to create the pixmap?

Also what version of nano-X/mwin are you using.

You must use the function that specifies a pixel count that is large enough
for your text string. Do not specify a parent window, or that
window will be used for the default clip region. It sounds like
your pixmap is either being created the wrong size, or it is being
assigned a clip region that is based on a physical window, which will
then clip to screen boundaries.

Regards,

Greg


> Hi all,
> 
> 
> 
> I have a problem with scrolling pixmaps.
> 
> 
> I want to scroll an individual string text through a window with a
> pixmap.
> The pixmap has the dimensions following dimensions => 
> 
> width = stringlen in px, and the height of the display window
> 
> My display window has the dimension 800x140.
> 
> 
> 
> Now I want to write the string via GrText in the pixmap.
> 
> The problem is, that my text will cut after 800 px. 
> 
> Is the text string smaller than 800 px it works.
> 
> Could it be that the pixmap is restricted by screen width? How can I fix
> it or do anyone know a workaround.
> 
> 
> 
> The scrolling itself works, only the cut of the text string is the
> problem.
> 
> 
> 
> Many thanks.
> 
> 
> 
> Andi
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org
For additional commands, e-mail: nanogui-h...@linuxhacker.org

Reply via email to