~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to devel-docs/libgimpbase/html/libgimpbase-gimpchecks.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>gimpchecks</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
8
8
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
9
 
<link rel="prev" href="libgimpbase-gimplimits.html" title="gimplimits">
10
 
<link rel="next" href="libgimpbase-gimpdatafiles.html" title="gimpdatafiles">
11
 
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
9
<link rel="prev" href="libgimpbase-gimpparam.html" title="gimpparam">
 
10
<link rel="next" href="libgimpbase-gimpcpuaccel.html" title="gimpcpuaccel">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
 
14
<link rel="index" href="libgimpbase-index.html" title="Index">
 
15
<link rel="index" href="libgimpbase-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
 
16
<link rel="index" href="libgimpbase-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
 
17
<link rel="index" href="libgimpbase-index-deprecated.html" title="Index of deprecated symbols">
14
18
</head>
15
19
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
16
20
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17
21
<tr valign="middle">
18
 
<td><a accesskey="p" href="libgimpbase-gimplimits.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
22
<td><a accesskey="p" href="libgimpbase-gimpparam.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
19
23
<td><a accesskey="u" href="libgimpbase.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
20
24
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
21
25
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
22
 
<td><a accesskey="n" href="libgimpbase-gimpdatafiles.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
26
<td><a accesskey="n" href="libgimpbase-gimpcpuaccel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
27
</tr>
24
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2565707" class="shortcut">Top</a>
 
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2581082" class="shortcut">Top</a>
25
29
                  &#160;|&#160;
26
 
                  <a href="#id2535156" class="shortcut">Description</a></nobr></td></tr>
 
30
                  <a href="#id2593237" class="shortcut">Description</a></nobr></td></tr>
27
31
</table>
28
32
<div class="refentry" lang="en">
29
33
<a name="libgimpbase-gimpchecks"></a><div class="titlepage"></div>
30
34
<div class="refnamediv"><table width="100%"><tr>
31
35
<td valign="top">
32
36
<h2>
33
 
<a name="id2565707"></a><span class="refentrytitle">gimpchecks</span>
 
37
<a name="id2581082"></a><span class="refentrytitle">gimpchecks</span>
34
38
</h2>
35
39
<p>gimpchecks &#8212; Constants and functions related to rendering checkerboards.</p>
36
40
</td>
42
46
 
43
47
 
44
48
 
45
 
#define     <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE:CAPS">GIMP_CHECK_SIZE</a>
46
 
#define     <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE-SM:CAPS">GIMP_CHECK_SIZE_SM</a>
47
 
#define     <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-DARK:CAPS">GIMP_CHECK_DARK</a>
48
 
#define     <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-LIGHT:CAPS">GIMP_CHECK_LIGHT</a>
49
 
void        <a href="libgimpbase-gimpchecks.html#gimp-checks-get-shades">gimp_checks_get_shades</a>          (<a href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
50
 
                                             guchar *light,
51
 
                                             guchar *dark);
 
49
#define             <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE:CAPS">GIMP_CHECK_SIZE</a>
 
50
#define             <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE-SM:CAPS">GIMP_CHECK_SIZE_SM</a>
 
51
#define             <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-DARK:CAPS">GIMP_CHECK_DARK</a>
 
52
#define             <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-LIGHT:CAPS">GIMP_CHECK_LIGHT</a>
 
53
void                <a href="libgimpbase-gimpchecks.html#gimp-checks-get-shades">gimp_checks_get_shades</a>              (<a href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
 
54
                                                         guchar *light,
 
55
                                                         guchar *dark);
52
56
</pre>
53
57
</div>
54
58
<div class="refsect1" lang="en">
55
 
<a name="id2535156"></a><h2>Description</h2>
 
59
<a name="id2593237"></a><h2>Description</h2>
56
60
<p>
57
61
Constants and functions related to rendering checkerboards.
58
62
</p>
59
63
</div>
60
64
<div class="refsect1" lang="en">
61
 
<a name="id2535171"></a><h2>Details</h2>
 
65
<a name="id2593253"></a><h2>Details</h2>
62
66
<div class="refsect2" lang="en">
63
 
<a name="id2535182"></a><h3>
 
67
<a name="id2593264"></a><h3>
64
68
<a name="GIMP-CHECK-SIZE:CAPS"></a>GIMP_CHECK_SIZE</h3>
65
 
<a class="indexterm" name="id2535193"></a><pre class="programlisting">#define GIMP_CHECK_SIZE      8
 
69
<a class="indexterm" name="id2593276"></a><pre class="programlisting">#define GIMP_CHECK_SIZE      8
66
70
</pre>
67
71
<p>
68
72
The default checkerboard size in pixels. This is configurable in the
72
76
</div>
73
77
<hr>
74
78
<div class="refsect2" lang="en">
75
 
<a name="id2535212"></a><h3>
 
79
<a name="id2589191"></a><h3>
76
80
<a name="GIMP-CHECK-SIZE-SM:CAPS"></a>GIMP_CHECK_SIZE_SM</h3>
77
 
<a class="indexterm" name="id2535223"></a><pre class="programlisting">#define GIMP_CHECK_SIZE_SM   4
 
81
<a class="indexterm" name="id2589202"></a><pre class="programlisting">#define GIMP_CHECK_SIZE_SM   4
78
82
</pre>
79
83
<p>
80
84
The default small checkerboard size in pixels.
82
86
</div>
83
87
<hr>
84
88
<div class="refsect2" lang="en">
85
 
<a name="id2559248"></a><h3>
 
89
<a name="id2589218"></a><h3>
86
90
<a name="GIMP-CHECK-DARK:CAPS"></a>GIMP_CHECK_DARK</h3>
87
 
<a class="indexterm" name="id2559260"></a><pre class="programlisting">#define GIMP_CHECK_DARK      0.4
 
91
<a class="indexterm" name="id2589230"></a><pre class="programlisting">#define GIMP_CHECK_DARK      0.4
88
92
</pre>
89
93
<p>
90
94
The dark gray value for the default checkerboard pattern.
92
96
</div>
93
97
<hr>
94
98
<div class="refsect2" lang="en">
95
 
<a name="id2559276"></a><h3>
 
99
<a name="id2589246"></a><h3>
96
100
<a name="GIMP-CHECK-LIGHT:CAPS"></a>GIMP_CHECK_LIGHT</h3>
97
 
<a class="indexterm" name="id2559288"></a><pre class="programlisting">#define GIMP_CHECK_LIGHT     0.6
 
101
<a class="indexterm" name="id2589258"></a><pre class="programlisting">#define GIMP_CHECK_LIGHT     0.6
98
102
</pre>
99
103
<p>
100
104
The light gray value for the default checkerboard pattern.
102
106
</div>
103
107
<hr>
104
108
<div class="refsect2" lang="en">
105
 
<a name="id2559303"></a><h3>
 
109
<a name="id2589274"></a><h3>
106
110
<a name="gimp-checks-get-shades"></a>gimp_checks_get_shades ()</h3>
107
 
<a class="indexterm" name="id2559317"></a><pre class="programlisting">void        gimp_checks_get_shades          (<a href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
108
 
                                             guchar *light,
109
 
                                             guchar *dark);</pre>
 
111
<a class="indexterm" name="id2589288"></a><pre class="programlisting">void                gimp_checks_get_shades              (<a href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
 
112
                                                         guchar *light,
 
113
                                                         guchar *dark);</pre>
110
114
<p>
111
115
Retrieves the actual shades of gray to use when drawing a
112
116
checkerboard for a certain <a href="libgimpbase-gimpbaseenums.html#GimpCheckType"><span class="type">GimpCheckType</span></a>.</p>
117
121
<col align="left" valign="top">
118
122
<tbody>
119
123
<tr>
120
 
<td>
121
 
<span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
 
124
<td><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
122
125
<td>  the checkerboard type
123
126
</td>
124
127
</tr>
125
128
<tr>
126
 
<td>
127
 
<span class="term"><em class="parameter"><code>light</code></em>&#160;:</span></td>
 
129
<td><span class="term"><em class="parameter"><code>light</code></em>&#160;:</span></td>
128
130
<td> return location for the light shade
129
131
</td>
130
132
</tr>
131
133
<tr>
132
 
<td>
133
 
<span class="term"><em class="parameter"><code>dark</code></em>&#160;:</span></td>
 
134
<td><span class="term"><em class="parameter"><code>dark</code></em>&#160;:</span></td>
134
135
<td>  return location for the dark shade
135
136
</td>
136
137
</tr>
137
138
</tbody>
138
139
</table></div>
139
 
<p>Since  GIMP 2.2
 
140
<p class="since">Since  GIMP 2.2
140
141
</p>
141
142
</div>
142
143
</div>