cookbook: Add image and example for text-shadow
This commit is contained in:
parent
0dac5e0557
commit
dc19e26073
@ -1,7 +1,8 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
||||
|
||||
<chapter id="text">
|
||||
<chapter id="text"
|
||||
xmlns:xi="http://www.w3.org/2003/XInclude">
|
||||
<title>Text</title>
|
||||
|
||||
<epigraph>
|
||||
@ -28,6 +29,18 @@
|
||||
<section>
|
||||
<title>Solution</title>
|
||||
|
||||
<screenshot>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata format="PNG"
|
||||
fileref="images/text-shadow.png" />
|
||||
</imageobject>
|
||||
<alt>
|
||||
<para>A ClutterText actor painting a shadow underneath its
|
||||
contents</para>
|
||||
</alt>
|
||||
</mediaobject>
|
||||
</screenshot>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
@ -35,6 +48,19 @@
|
||||
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title>Full example</title>
|
||||
|
||||
<example id="text-shadow-example">
|
||||
<title>Creating a shadow of a text</title>
|
||||
<programlisting>
|
||||
<xi:include href="examples/text-shadow.c" parse="text">
|
||||
<xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback>
|
||||
</xi:include>
|
||||
</programlisting>
|
||||
</example>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
</chapter>
|
||||
|
Loading…
Reference in New Issue
Block a user