xserver-multidpi/hw/dmx/doc/html/dmxgc_8c.html
2004-06-30 20:06:56 +00:00

457 lines
15 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>File Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.3.4 -->
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<h1>dmxgc.c File Reference</h1><code>#include "<a class="el" href="dmx_8h-source.html">dmx.h</a>"</code><br>
<code>#include "<a class="el" href="dmxsync_8h-source.html">dmxsync.h</a>"</code><br>
<code>#include "<a class="el" href="dmxgc_8h-source.html">dmxgc.h</a>"</code><br>
<code>#include "<a class="el" href="dmxgcops_8h-source.html">dmxgcops.h</a>"</code><br>
<code>#include "<a class="el" href="dmxpixmap_8h-source.html">dmxpixmap.h</a>"</code><br>
<code>#include "<a class="el" href="dmxfont_8h-source.html">dmxfont.h</a>"</code><br>
<code>#include "gcstruct.h"</code><br>
<code>#include "pixmapstr.h"</code><br>
<code>#include "migc.h"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a2">dmxInitGC</a> (ScreenPtr pScreen)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a3">dmxBECreateGC</a> (ScreenPtr pScreen, GCPtr pGC)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a4">dmxCreateGC</a> (GCPtr pGC)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a5">dmxValidateGC</a> (GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a6">dmxChangeGC</a> (GCPtr pGC, unsigned long mask)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a7">dmxCopyGC</a> (GCPtr pGCSrc, unsigned long changes, GCPtr pGCDst)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a8">dmxBEFreeGC</a> (GCPtr pGC)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a9">dmxDestroyGC</a> (GCPtr pGC)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a10">dmxChangeClip</a> (GCPtr pGC, int type, pointer pvalue, int nrects)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a11">dmxDestroyClip</a> (GCPtr pGC)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a12">dmxCopyClip</a> (GCPtr pGCDst, GCPtr pGCSrc)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This file provides support for GCs.<hr><h2>Function Documentation</h2>
<a class="anchor" name="a3" doxytag="dmxgc.c::dmxBECreateGC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void dmxBECreateGC </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
<td class="mdname" nowrap> <em>pScreen</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>GCPtr&nbsp;</td>
<td class="mdname" nowrap> <em>pGC</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Create the GC on the back-end server. </td>
</tr>
</table>
<a class="anchor" name="a8" doxytag="dmxgc.c::dmxBEFreeGC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Bool dmxBEFreeGC </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">GCPtr&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>pGC</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Free the <em>pGC</em> on the back-end server. </td>
</tr>
</table>
<a class="anchor" name="a10" doxytag="dmxgc.c::dmxChangeClip" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void dmxChangeClip </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">GCPtr&nbsp;</td>
<td class="mdname" nowrap> <em>pGC</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap> <em>type</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>pointer&nbsp;</td>
<td class="mdname" nowrap> <em>pvalue</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap> <em>nrects</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Change the clip rects for a GC. </td>
</tr>
</table>
<a class="anchor" name="a6" doxytag="dmxgc.c::dmxChangeGC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void dmxChangeGC </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">GCPtr&nbsp;</td>
<td class="mdname" nowrap> <em>pGC</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>unsigned long&nbsp;</td>
<td class="mdname" nowrap> <em>mask</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set the values in the graphics context on the back-end server associated with <em>pGC's</em> screen. </td>
</tr>
</table>
<a class="anchor" name="a12" doxytag="dmxgc.c::dmxCopyClip" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void dmxCopyClip </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">GCPtr&nbsp;</td>
<td class="mdname" nowrap> <em>pGCDst</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>GCPtr&nbsp;</td>
<td class="mdname" nowrap> <em>pGCSrc</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Copy a GC's clip rects. </td>
</tr>
</table>
<a class="anchor" name="a7" doxytag="dmxgc.c::dmxCopyGC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void dmxCopyGC </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">GCPtr&nbsp;</td>
<td class="mdname" nowrap> <em>pGCSrc</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>unsigned long&nbsp;</td>
<td class="mdname" nowrap> <em>changes</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>GCPtr&nbsp;</td>
<td class="mdname" nowrap> <em>pGCDst</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Copy <em>pGCSrc</em> to <em>pGCDst</em> on the back-end server associated with <em>pGCSrc's</em> screen. </td>
</tr>
</table>
<a class="anchor" name="a4" doxytag="dmxgc.c::dmxCreateGC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Bool dmxCreateGC </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">GCPtr&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>pGC</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Create a graphics context on the back-end server associated /a pGC's screen. </td>
</tr>
</table>
<a class="anchor" name="a11" doxytag="dmxgc.c::dmxDestroyClip" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void dmxDestroyClip </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">GCPtr&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>pGC</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destroy a GC's clip rects. </td>
</tr>
</table>
<a class="anchor" name="a9" doxytag="dmxgc.c::dmxDestroyGC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void dmxDestroyGC </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">GCPtr&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>pGC</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destroy the graphics context, <em>pGC</em> and free the corresponding GC on the back-end server. </td>
</tr>
</table>
<a class="anchor" name="a2" doxytag="dmxgc.c::dmxInitGC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Bool dmxInitGC </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>pScreen</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Initialize the GC on <em>pScreen</em>, which currently involves allocating the GC private associated with this screen. </td>
</tr>
</table>
<a class="anchor" name="a5" doxytag="dmxgc.c::dmxValidateGC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void dmxValidateGC </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">GCPtr&nbsp;</td>
<td class="mdname" nowrap> <em>pGC</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>unsigned long&nbsp;</td>
<td class="mdname" nowrap> <em>changes</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>DrawablePtr&nbsp;</td>
<td class="mdname" nowrap> <em>pDrawable</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Validate a graphics context, <em>pGC</em>, locally in the DMX server and recompute the composite clip, if necessary. </td>
</tr>
</table>
<hr>
<address>
<small>
Generated June 29, 2004 for <a
href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
<a href="http://www.doxygen.org/index.html">doxygen</a>
1.3.4.
</small>
</addres>
</hr>
</body>
</html>