02-04-2009
draw graphics to stdout in solaris
Hi all..
I am trying to draw a line on the monitor on sun platform machine. I tried a simple program.
#include<stdio.h>
#include<plot.h>
int main()
{
openpl();
linemod("dotted");
line(1000,1000,2000,2000);
closepl();
return 0;
}
It doesn't produce the desired result.
If one knows how to draw a line on the monitor on sun platform, please guide me.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I noticed that SUN is selling the Blade 100 workstation for < 1000. I am considering buying one with a high end graphics card for 3D animation/graphics (and also some java development). I am wondering if any relatively inexpensive graphics applications exist for Unix/Solaris machines. Anybody... (4 Replies)
Discussion started by: eqpfunk
4 Replies
2. Ubuntu
Hi Sir,
i am new to openGL, i want to know how to draw cylinder using openGL code in C or C++..
And i have to insert bitmap images on cylinder..
How to do this .. please guide me ...
Thanking You in advance .. (0 Replies)
Discussion started by: Ravikishore
0 Replies
3. Programming
Hi,
please give me, how to code to draw 3D cylinder in openGL, that should be rotated in x-direction.
waiting for your reply .. (2 Replies)
Discussion started by: Ravikishore
2 Replies
4. Solaris
Hi,
I have installed solaris 10/09 release in dell gx 520 desktop, it doesn't support graphics, i installed through text mode, can anyone tell how to get graphics on dell gx520 (1 Reply)
Discussion started by: rajasekg
1 Replies
5. What is on Your Mind?
Do you draw flowcharts while you do the programming , design new network or simmilar ? (8 Replies)
Discussion started by: solaris_user
8 Replies
6. OS X (Apple)
Howdy
I am trying to install links2 with graphics support on snow leopard 10.6.8 (xcode installed). I have had the program running last year, also installed from source - but then I had installed some image libraries with mac ports and fink - cannot reproduce that setup. Plus I would like to not... (6 Replies)
Discussion started by: butterbaerchen
6 Replies
7. Solaris
We just installed the latest Oracle Solaris 10 Sparc 64-Bit CPU patch (10/2012) and we are no longer able to access the GUI or the console after the OBP. We believe that this is a graphics issue. It has affected out t2000 xvr-200 graphics server and also out v440 xvr-100 graphics server.
We are... (2 Replies)
Discussion started by: topper24501
2 Replies
8. Programming
Hello. I need to draw many lines with multicolor (color is set by some pixmap (xpm)) on C++ with standart libs.
Horizontal lines are drawing succsessfully with GC and XSetTile. But non-horizontal - no good.
I rotate pixmap for all lines and then XSetTile for each line with own pixmap, but it's... (1 Reply)
Discussion started by: Yuriy
1 Replies
9. Solaris
Hi,
I got a process (c written) that we usually run this way :
EmsChkQu >> /EMS/log/EmsChkQu.log 2>&1
When trying to use it as a service I defined it this way :
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle... (6 Replies)
Discussion started by: zionassedo
6 Replies