diff options
author | James Meyer <james.meyer@operamail.com> | 2009-02-23 21:19:04 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-02-23 21:19:04 (GMT) |
commit | 577c09bc1ea57e3fc5fe459ad91aafa4412b2297 (patch) | |
tree | 5fdcf480f545a75514783b155e3b23dea397eaf6 /abs/mv-core/ghosd/ghosd-0.0.1/doc/xml/text.xml | |
parent | 1552b1b0221ed6a7e26e486187be25031408b453 (diff) | |
download | linhes_pkgbuild-577c09bc1ea57e3fc5fe459ad91aafa4412b2297.zip linhes_pkgbuild-577c09bc1ea57e3fc5fe459ad91aafa4412b2297.tar.gz linhes_pkgbuild-577c09bc1ea57e3fc5fe459ad91aafa4412b2297.tar.bz2 |
adding in ghosd
Diffstat (limited to 'abs/mv-core/ghosd/ghosd-0.0.1/doc/xml/text.xml')
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/xml/text.xml | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/xml/text.xml b/abs/mv-core/ghosd/ghosd-0.0.1/doc/xml/text.xml new file mode 100644 index 0000000..777d78b --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/xml/text.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<refentry id="ghosd-Text"> +<refmeta> +<refentrytitle>Text</refentrytitle> +<manvolnum>3</manvolnum> +<refmiscinfo>GHOSD Library</refmiscinfo> +</refmeta> + +<refnamediv> +<refname>Text</refname><refpurpose>Rendering text.</refpurpose> +</refnamediv> + +<refsynopsisdiv><title>Synopsis</title> + +<synopsis> + +#include <ghosd/ghosd-text.h> + + +<link linkend="void">void</link> <link linkend="ghosd-text-set-position">ghosd_text_set_position</link> (<link linkend="Ghosd">Ghosd</link> *ghosd, + <link linkend="int">int</link> x, + <link linkend="int">int</link> y, + <link linkend="PangoLayout">PangoLayout</link> *layout); +</synopsis> +</refsynopsisdiv> + + + + + + + + + +<refsect1> +<title>Description</title> +<para> +I expect to flesh out this API, so this is mostly a placeholder for now. +</para> +</refsect1> + +<refsect1> +<title>Details</title> +<refsect2> +<title><anchor id="ghosd-text-set-position"/>ghosd_text_set_position ()</title> +<indexterm><primary>ghosd_text_set_position</primary></indexterm><programlisting><link linkend="void">void</link> ghosd_text_set_position (<link linkend="Ghosd">Ghosd</link> *ghosd, + <link linkend="int">int</link> x, + <link linkend="int">int</link> y, + <link linkend="PangoLayout">PangoLayout</link> *layout);</programlisting> +<para> +Set ghosd dimensions based on a <link linkend="PangoLayout"><type>PangoLayout</type></link>. +See <link linkend="ghosd-set-position"><function>ghosd_set_position()</function></link> for interpretation of the x and y coordinates.</para> +<para> + +</para><variablelist role="params"> +<varlistentry><term><parameter>ghosd</parameter> :</term> +<listitem><simpara> a <link linkend="Ghosd"><type>Ghosd</type></link> object; +</simpara></listitem></varlistentry> +<varlistentry><term><parameter>x</parameter> :</term> +<listitem><simpara> x coordinate in screen pixels. +</simpara></listitem></varlistentry> +<varlistentry><term><parameter>y</parameter> :</term> +<listitem><simpara> y coordinate in screen pixels. +</simpara></listitem></varlistentry> +<varlistentry><term><parameter>layout</parameter> :</term> +<listitem><simpara> the <link linkend="PangoLayout"><type>PangoLayout</type></link> to draw. +</simpara></listitem></varlistentry> +</variablelist></refsect2> + +</refsect1> + + + + +</refentry> |