Changes

Jump to navigation Jump to search
1,714 bytes added ,  13:19, 5 November 2021
Created page with "Documentation for \scale"
<cd:commandgroup name="scale" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\scale</tt> is used for scaling an object.
</cd:shortdesc>
<cd:variants>
<cd:command category="graphics" file="grph-trf.mkiv" interfacedate="2020-06-19T13:41" interfacefile="i-scale.xml" level="document" name="scale" variantnumber="1">
<cd:arguments>
<cd:keywords optional="yes" ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:keywords>
<cd:assignments list="yes" optional="yes" ordinal="2">
<cd:assignmentsdoc></cd:assignmentsdoc>
<cd:inherit name="setupscale"></cd:inherit>
</cd:assignments>
<cd:content ordinal="3"></cd:content>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description>Scale <tt>content</tt> using different methods.

See {{cmd|setupscale}} for parameter details.</cd:description>
<cd:examples><cd:example title=""><context source="yes">
\setuppapersize[A5]
Spam.
\scale[factor=15] {Spam.}
\scale[wfactor=15]{Spam.}
\scale[hfactor=15]{Spam.}
\scale[scale=1500]{Spam.}
\scale[lines=2] {Egg.}
\scale[grid=6] {Sausage.}
Spam.
</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:commandref name="definescale" originator="system"></cd:commandref>
<cd:commandref name="setupscale" originator="system"></cd:commandref>
<cd:source file="grph-trf.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Graphics"></cd:wikipage>
<cd:wikipage page="Scaling Rotating Mirroring Clipping"></cd:wikipage>
<cd:commandref name="rotate"></cd:commandref>
<cd:commandref name="clip"></cd:commandref></cd:seealso>
</cd:commandgroup>

Navigation menu