LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   XDrawLines in Linux (https://www.linuxquestions.org/questions/programming-9/xdrawlines-in-linux-4175417784/)

Grumpy49 07-20-2012 08:12 AM

XDrawLines in Linux
 
Are there any alternatives to Xlib routines such as XDrawLines for Linux that take regular or long ints as drawing coordinates? The Xlib routines typically use short ints for drawing coordinates but I sometimes need to use coordinates that exceed the range of short ints.

dugan 07-20-2012 08:53 AM

Seriously? What's the display resolution of the target device, and what is the range of a short int on that device? And for that matter, what's the range of a regular int on that device?

Qt's line drawing routines use ints (http://doc.qt.nokia.com/4.7-snapshot/qline.html). So do the drawing routines provided by Java's Swing libraries.

Tinkster 07-22-2012 03:38 PM

Moved: This thread is more suitable in <PROGRAMMING> and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 06:49 PM.