XDestroyOC(3)


HOME

XCreateOC

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO

NAME

XCreateOC, XDestroyOC, XSetOCValues, XGetOCValues, XOMOfOC − create output contexts

SYNTAX

XOC XCreateOC(XOM om);

void XDestroyOC(XOC oc);

char * XSetOCValues(XOC oc, ...);

char * XGetOCValues(XOC oc, ...);

XOM XOMOfOC(XOC oc);

ARGUMENTS

oc

Specifies the output context.

om

Specifies the output method.

...

Specifies the variable length argument list to set or get XOC values.

DESCRIPTION

The XCreateOC function creates an output context within the specified output method.

The base font names argument is mandatory at creation time, and the output context will not be created unless it is provided. All other output context values can be set later.

XCreateOC returns NULL if no output context could be created. NULL can be returned for any of the following reasons:

A required argument was not set.

A read-only argument was set.

An argument name is not recognized.

The output method encountered an output method implementation-dependent error.

The XDestroyOC function destroys the specified output context.

The XSetOCValues function returns NULL if no error occurred; otherwise, it returns the name of the first argument that could not be set. An argument might not be set for any of the following reasons:

The argument is read-only.

The argument name is not recognized.

An implementation-dependent error occurs.

Each value to be set must be an appropriate datum, matching the data type imposed by the semantics of the argument.

The XGetOCValues function returns NULL if no error occurred; otherwise, it returns the name of the first argument that could not be obtained. An argument might not be obtained for any of the following reasons:

The argument name is not recognized.

An implementation-dependent error occurs.

Each argument value following a name must point to a location where the value is to be stored.

The XOMOfOC function returns the output method associated with the specified output context.

SEE ALSO

XCreateOM(3), XCreateFontSet(3)
Xlib − C Language X Interface



More Linux Commands

manpages/res_mkquery.3.html
res_mkquery(3) - resolver routines - Linux manual page......
These functions make queries to and interpret the responses from Internet domain name servers. The res_init() function reads the configuration files (see resolv

manpages/pow10l.3.html
pow10l(3) - base-10 power functions - Linux manual page.....
The pow10() function returns the value of 10 raised to the power x. VERSIONS These functions first appeared in glibc in version 2.1. CONFORMING TO This is a GNU

manpages/glTexSubImage1D.3gl.html
glTexSubImage1D(3gl) - specify a one-dimensional texture sub
Texturing maps a portion of a specified texture image onto each graphical primitive for which texturing is enabled. To enable or disable one-dimensional texturi

manpages/msr.4.html
msr(4) - x86 CPU MSR access device - Linux manual page......
/dev/cpu/CPUNUM/msr provides an interface to read and write the model-specific registers (MSRs) of an x86 CPU. CPUNUM is the number of the CPU to access as list

manpages/XkbChangeEnabledControls.3.html
XkbChangeEnabledControls(3) - Manipulates the EnabledControl
The EnabledControls control is a bit mask where each bit that is turned on means the corresponding control is enabled, and when turned off, disabled. It corresp

manpages/form_field_attributes.3form.html
form_field_attributes(3form) - color and attribute control f
The function set_field_fore sets the foreground attribute of field. This is the highlight used to display the field contents. The function field_fore returns th

manpages/pam_vsyslog.3.html
pam_vsyslog(3) - send messages to the system logger.........
The pam_syslog function logs messages using syslog(3) and is intended for internal use by Linux-PAM and PAM service modules. The priority argument is formed by

manpages/arecordmidi.1.html
arecordmidi(1) - record Standard MIDI Files - Linux man page
arecordmidi is a command-line utility that records a Standard MIDI File from one or more ALSA sequencer ports. To stop recording, press Ctrl+C. OPTIONS -h,--hel

manpages/closelog.3.html
closelog(3) - send messages to the system logger (Man Page)
closelog() closes the descriptor being used to write to the system logger. The use of closelog() is optional. openlog() opens a connection to the system logger

manpages/pgmkernel.1.html
pgmkernel(1) - generate a convolution kernel (Man Page).....
This program is part of Netpbm(1) pgmkernel generates a convolution kernel that you can use with pnmconvol. The kernel is one where the weight of each location

manpages/glMultiTexCoord1ivARB.3gl.html
glMultiTexCoord1ivARB(3gl) - set the current texture coordin
glMultiTexCoordARB specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1ARB sets the current texture coordinates to (s, 0, 0, 1

manpages/postmap.1.html
postmap(1) - Postfix lookup table management (Man Page).....
The postmap(1) command creates or queries one or more Postfix lookup tables, or updates an existing one. The input and output file formats are expected to be co





We can't live, work or learn in freedom unless the software we use is free.