03-22-2011
Occasionally. Depends on what I am doing.
10 More Discussions You Might Find Interesting
1. 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... (0 Replies)
Discussion started by: shivamasam
0 Replies
2. Shell Programming and Scripting
I want to draw a horizontal and vertical line on Unix. Please suggest some solution. (11 Replies)
Discussion started by: allways4u21
11 Replies
3. Shell Programming and Scripting
Hi all,
I need to create a matrix of variable rows and columns. Right now i have 3 rows and two columns and following values.
Output something like
TypeA TypeB
TestCase1 Pass Fail
TestCase2 Pass ... (2 Replies)
Discussion started by: jakSun8
2 Replies
4. UNIX and Linux Applications
Hi guys,
I need a software for Ubuntu
*which has the capabilities of Corel Draw
*which can open/import and use a .cdr template, i.e., template created by Corel Draw.
*which has the same color codes, i.e., names for colors
I have looked through Google, some suggested ones are Inkscape,... (7 Replies)
Discussion started by: apprentice
7 Replies
5. 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
6. 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
7. 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
8. Programming
For example, I have a file called data.txt. And the content is:
Iker_Casillas 181
Raphael_Varane 182
Sergio_Ramos 182May I know how to write a script for gnuplot, so I can have a bar graph as the column 1 will be the x and column 2 will be the y? And I hope that the x value can be seen clearly.... (0 Replies)
Discussion started by: Tzeronone
0 Replies
9. Shell Programming and Scripting
https://www.unix.com/attachment.php?attachmentid=6304&d=1432179166
how can draw line like this? on ubuntu, shell programming.
i tried "-" , " l " but it's failed.. (2 Replies)
Discussion started by: gotit
2 Replies
10. What is on Your Mind?
What is on Your Mind?
2018 FIFA World Cup - Wikipedia
I'm hoping that England are drawn into positions B2, D3, G3 or G4 so that all their games will be outside usual UK office hours and people will not desert the office with mystery illnesses to watch the games.
Expecting failure, so I... (1 Reply)
Discussion started by: rbatte1
1 Replies
LEARN ABOUT CENTOS
glxquerydrawable
GLXQUERYDRAWABLE(3G) OpenGL Manual GLXQUERYDRAWABLE(3G)
NAME
glXQueryDrawable - returns an attribute assoicated with a GLX drawable
C SPECIFICATION
int glXQueryDrawable(Display * dpy, GLXDrawable draw, int attribute, unsigned int * value);
PARAMETERS
dpy
Specifies the connection to the X server.
draw
Specifies the GLX drawable to be queried.
attribute
Specifies the attribute to be returned. Must be one of GLX_WIDTH, GLX_HEIGHT, GLX_PRESERVED_CONTENTS, GLX_LARGEST_PBUFFER, or
GLX_FBCONFIG_ID.
value
Contains the return value for attribute.
DESCRIPTION
glXQueryDrawable sets value to the value of attribute with respect to the GLXDrawable draw.
attribute may be one of the following:
GLX_WIDTH
Returns the width of ctx.
GLX_HEIGHT
Returns the height of ctx.
GLX_PRESERVED_CONTENTS
Returns True if the contents of a GLXPbuffer are preserved when a resource conflict occurs; False otherwise.
GLX_LARGEST_PBUFFER
Returns the value set when glXCreatePbuffer was called to create the GLXPbuffer. If False is returned, then the call to
glXCreatePbuffer will fail to create a GLXPbuffer if the requested size is larger than the implementation maximum or available
resources. If True is returned, a GLXPbuffer of the maximum availble size (if less than the requested width and height) is created.
GLX_FBCONFIG_ID
Returns the XID for draw.
If draw is a GLXWindow or GLXPixmap and attribute is set to GLX_PRESERVED_CONTENTS or GLX_LARGETST_PBUFFER, the contents of value are
undefined. If attribute is not one of the attributes listed above, the contents of value are unedfined.
ERRORS
A GLXBadDrawable is generated if draw is not a valid GLXDrawable.
SEE ALSO
glXCreateWindow(), glXCreatePixmap(), glXCreatePbuffer(), glXGetFBConfigAttrib(), glXChooseFBConfig()
COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see
http://oss.sgi.com/projects/FreeB/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLXQUERYDRAWABLE(3G)