[comp.windows.x] Using Colors in X applications

nancie@hal.CSS.GOV (Nancie Matson) (10/26/89)

Hello, I just started using/learning X recently
and I am trying to draw some primitives in
color.  The documentation provided with the
release tapes is pretty limited, and I am having
trouble understanding how to get color images.

For example, I want to draw colored lines,
and create colored filled rectangles.

This is probably a simple task, and I am just
not looking in the right place, but anyway I
would appreciate any help in getting started.

Also, I would like to find out if there is a 
way to open an application window in a
static location instead of having to drag the
window to its location with the mouse.  Is there
some flag that I am forgetting to set???

Thanx in advance!  

Nancie Matson
nancie@hal.CSS.GOV.UUCP