applied a (slightly modified) patch from Joao that improves PDB
2006-06-28 Sven Neumann <sven@gimp.org> * tools/pdbgen/pdb/text_tool.pdb: applied a (slightly modified) patch from Joao that improves PDB documentation (bug #345926). * app/pdb/text_tool_cmds.c * libgimp/gimptexttool_pdb.c: regenerated.
This commit is contained in:

committed by
Sven Neumann

parent
9237228b53
commit
fd788d6714
@ -50,7 +50,10 @@
|
|||||||
* floating selection attached to the drawable. If the drawable
|
* floating selection attached to the drawable. If the drawable
|
||||||
* parameter is not valid (-1), the text will appear as a new layer.
|
* parameter is not valid (-1), the text will appear as a new layer.
|
||||||
* Finally, a border can be specified around the final rendered text.
|
* Finally, a border can be specified around the final rendered text.
|
||||||
* The border is measured in pixels.
|
* The border is measured in pixels. Parameter size-type is not used
|
||||||
|
* and is currently ignored. If you need to display a font in points,
|
||||||
|
* divide the size in points by 72.0 and multiply it by the image's
|
||||||
|
* vertical resolution.
|
||||||
*
|
*
|
||||||
* Returns: The new text layer or -1 if no layer was created.
|
* Returns: The new text layer or -1 if no layer was created.
|
||||||
*/
|
*/
|
||||||
@ -107,7 +110,11 @@ gimp_text_fontname (gint32 image_ID,
|
|||||||
*
|
*
|
||||||
* This tool returns the width and height of a bounding box for the
|
* This tool returns the width and height of a bounding box for the
|
||||||
* specified text string with the specified font information. Ascent
|
* specified text string with the specified font information. Ascent
|
||||||
* and descent for the specified font are returned as well.
|
* and descent for the specified font are returned as well. Parameter
|
||||||
|
* size-type is not used and is currently ignored. If you need to
|
||||||
|
* display a font in points, divide the size in points by 72.0 and
|
||||||
|
* multiply it by the vertical resolution of the image you are taking
|
||||||
|
* into account.
|
||||||
*
|
*
|
||||||
* Returns: TRUE on success.
|
* Returns: TRUE on success.
|
||||||
*/
|
*/
|
||||||
|
@ -31,7 +31,10 @@ text by specifying the upper left corner of the text bounding box. If the
|
|||||||
specified drawable parameter is valid, the text will be created as a floating
|
specified drawable parameter is valid, the text will be created as a floating
|
||||||
selection attached to the drawable. If the drawable parameter is not valid
|
selection attached to the drawable. If the drawable parameter is not valid
|
||||||
(-1), the text will appear as a new layer. Finally, a border can be specified
|
(-1), the text will appear as a new layer. Finally, a border can be specified
|
||||||
around the final rendered text. The border is measured in pixels.
|
around the final rendered text. The border is measured in pixels. Parameter
|
||||||
|
size-type is not used and is currently ignored. If you need to display a font
|
||||||
|
in points, divide the size in points by 72.0 and multiply it by the image's
|
||||||
|
vertical resolution.
|
||||||
HELP
|
HELP
|
||||||
|
|
||||||
&std_pdb_misc;
|
&std_pdb_misc;
|
||||||
@ -94,7 +97,10 @@ sub text_get_extents_fontname {
|
|||||||
$help = <<'HELP';
|
$help = <<'HELP';
|
||||||
This tool returns the width and height of a bounding box for the specified text
|
This tool returns the width and height of a bounding box for the specified text
|
||||||
string with the specified font information. Ascent and descent for the
|
string with the specified font information. Ascent and descent for the
|
||||||
specified font are returned as well.
|
specified font are returned as well. Parameter size-type is not used and is
|
||||||
|
currently ignored. If you need to display a font in points, divide the
|
||||||
|
size in points by 72.0 and multiply it by the vertical resolution of the
|
||||||
|
image you are taking into account.
|
||||||
HELP
|
HELP
|
||||||
|
|
||||||
&std_pdb_misc;
|
&std_pdb_misc;
|
||||||
|
Reference in New Issue
Block a user