Solaris X Window System Reference Manual
この本のみを検索
PDF 文書ファイルをダウンロードする

NAME

XSolarisOvlSetPaintType - specifies the type of paint rendered by subsequent Xlib drawing with the given GC

SYNOPSIS

void XSolarisOvlSetPaintType (Display * display,GC gc, XSolarisOvlPaintType paintType)

Arguments

display Specifies the connection to the X server.
gc
Specifies the affected GC.
paintType
Specifies the type of paint rendered by subsequent Xlib drawing routines using the specified GC.

DESCRIPTION

This routine controls the type of paint rendered by an Xlib GC. It controls whether Xlib drawing routines using this GC produce pixels on overlay windows that are opaque or transparent. The paint type specified applies to the GC until it is changed by another call to this routine. The paint type attribute applies to both the foreground and background GC attributes. If the value of paintType is XSolarisOvlPaintOpaque, the pixels generated by subsequent Xlib drawing routines with this GC will be opaque. This means the pixels will obscure underlying pixels. If the value of paintType is XSolarisOvlPaintTransparent, the pixels generated by subsequent Xlib drawing routines with this GC will be transparent. This means that, for these pixels, the color of the underlying pixels will be displayed. By default, a GC renders opaque paint.