r19076 by gpittman - clarify that scaleImage in scripter docs is no longer valid

scribus-commit scribus-commit at lists.scribus.net
Tue Apr 22 16:16:19 UTC 2014


Author: gpittman
Date: Tue Apr 22 16:16:18 2014
New Revision: 19076

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19076
Log:
clarify that scaleImage in scripter docs is no longer valid

Modified:
    branches/Version14x/Scribus/scribus/doc/en/scripterapi-setobjprop.html

Modified: branches/Version14x/Scribus/scribus/doc/en/scripterapi-setobjprop.html
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19076&path=/branches/Version14x/Scribus/scribus/doc/en/scripterapi-setobjprop.html
==============================================================================
--- branches/Version14x/Scribus/scribus/doc/en/scripterapi-setobjprop.html (original)
+++ branches/Version14x/Scribus/scribus/doc/en/scripterapi-setobjprop.html Tue Apr 22 16:16:18 2014
@@ -87,10 +87,9 @@
 <p>Sets line width of the object "name" to "width". "width" must be in the range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not given the currently selected item is used.</p> 
 <p>May raise ValueError if the line width is out of bounds.</p></dd>
 
-<dt><a name="-scaleImage"><strong>scaleImage</strong></a>(...)</dt>
+<dt><a name="-scaleImage"><strong><em>scaleImage</em></strong></a>(...)</dt>
 <dd><code>scaleImage(x, y [, "name"])</code>
-<p>Sets the internal scaling factors of the picture in the image frame "name". If "name" is not given the currently selected item is used. A number of 1 means 100 %. Internal scaling factors are different from the values shown on properties palette. Note : deprecated, use setImageScale() instead.</p>
-<p>May raise <a href="scripterapi.html#WrongFrameTypeError">WrongFrameTypeError</a> if the target frame is not an image frame</p></dd>
+<p><b>Do not use this command, since it no longer works. Use setImageScale instead.</b></p></dd>
 
 <dt><a name="-setImageScale"><strong>setImageScale</strong></a>(...)</dt>
 <dd><code>setImageScale(x, y [, "name"])</code>




More information about the scribus-commit mailing list