A server resource called the graphics context is used to specify attributes of the X drawing primitives, such as line widths, fill patterns, colours, etc. Clients can place several graphics contexts in a server, each identified by an ID that is used, by clients, as one of the parameters to a drawing routine.