mirror of https://github.com/GNOME/gimp.git
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:
parent
9237228b53
commit
fd788d6714
|
@ -50,7 +50,10 @@
|
|||
* floating 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 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.
|
||||
*/
|
||||
|
@ -107,7 +110,11 @@ gimp_text_fontname (gint32 image_ID,
|
|||
*
|
||||
* 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 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.
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
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
|
||||
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
|
||||
|
||||
&std_pdb_misc;
|
||||
|
@ -94,7 +97,10 @@ sub text_get_extents_fontname {
|
|||
$help = <<'HELP';
|
||||
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
|
||||
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
|
||||
|
||||
&std_pdb_misc;
|
||||
|
|
Loading…
Reference in New Issue