XSetTSOrigin(display, gc, ts_x_origin, ts_y_origin)
      Display *display;
      GC gc;
      int ts_x_origin, ts_y_origin;
| display | Specifies the connection to the X server. | 
| gc | Specifies the GC. | 
|  ts_x_origin ts_y_origin  | Specify the x and y coordinates of the tile and stipple origin. | 
XSetTSOrigin() can generate BadAlloc and BadGC error.
| BadAlloc | The server failed to allocate the requested source or server memory. | 
| BadGC | A value for a GContext argument does not name a defined GContext. |