/usr/share/doc/racket/images/Effects.html is in racket-doc 6.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>4.11 Effects</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_0");">►</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Images</a></td></tr></table></div><div class="tocviewsublisttop" style="display: none;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1 </td><td><a href="Icons.html" class="tocviewlink" data-pltdoc="x">Icons</a></td></tr><tr><td align="right">2 </td><td><a href="Logos.html" class="tocviewlink" data-pltdoc="x">Logos</a></td></tr><tr><td align="right">3 </td><td><a href="Embedding_Bitmaps_in_Compiled_Files.html" class="tocviewlink" data-pltdoc="x">Embedding Bitmaps in Compiled Files</a></td></tr><tr><td align="right">4 </td><td><a href="flomap_title.html" class="tocviewselflink" data-pltdoc="x">Floating-<wbr></wbr>Point Bitmaps</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_1");">▼</a></td><td>4 </td><td><a href="flomap_title.html" class="tocviewlink" data-pltdoc="x">Floating-<wbr></wbr>Point Bitmaps</a></td></tr></table><div class="tocviewsublistbottom" style="display: block;" id="tocview_1"><table cellspacing="0" cellpadding="0"><tr><td align="right">4.1 </td><td><a href="Overview.html" class="tocviewlink" data-pltdoc="x">Overview</a></td></tr><tr><td align="right">4.2 </td><td><a href="Struct_Type_and_Accessors.html" class="tocviewlink" data-pltdoc="x">Struct Type and Accessors</a></td></tr><tr><td align="right">4.3 </td><td><a href="Conversion_and_Construction.html" class="tocviewlink" data-pltdoc="x">Conversion and Construction</a></td></tr><tr><td align="right">4.4 </td><td><a href="Component_Operations.html" class="tocviewlink" data-pltdoc="x">Component Operations</a></td></tr><tr><td align="right">4.5 </td><td><a href="Pointwise_Operations.html" class="tocviewlink" data-pltdoc="x">Pointwise Operations</a></td></tr><tr><td align="right">4.6 </td><td><a href="Gradients_and_Normals.html" class="tocviewlink" data-pltdoc="x">Gradients and Normals</a></td></tr><tr><td align="right">4.7 </td><td><a href="Blur.html" class="tocviewlink" data-pltdoc="x">Blur</a></td></tr><tr><td align="right">4.8 </td><td><a href="Resizing.html" class="tocviewlink" data-pltdoc="x">Resizing</a></td></tr><tr><td align="right">4.9 </td><td><a href="Compositing.html" class="tocviewlink" data-pltdoc="x">Compositing</a></td></tr><tr><td align="right">4.10 </td><td><a href="Spatial_Transformations.html" class="tocviewlink" data-pltdoc="x">Spatial Transformations</a></td></tr><tr><td align="right">4.11 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">Effects</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-shadow%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>shadow</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-outline%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">flomap-<wbr></wbr>outline</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="Spatial_Transformations.html" title="backward to "4.10 Spatial Transformations"" data-pltdoc="x">← prev</a> <a href="flomap_title.html" title="up to "4 Floating-Point Bitmaps"" data-pltdoc="x">up</a> <span class="nonavigation">next →</span></span> </div><h4 x-source-module="(lib "images/scribblings/images.scrbl")" x-source-pkg="images-doc" x-part-tag=""Effects"">4.11<tt> </tt><a name="(part._.Effects)"></a>Effects</h4><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-shadow))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-shadow%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-shadow</a></span></span><span class="hspace"> </span><span class="RktVar">fm</span><span class="hspace"> </span><span class="RktVar">σ</span><span class="hspace"> </span>[<span class="RktVar">color</span>]<span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">fm</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">σ</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Real%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">Real</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">color</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Option%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">Option</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types-extra..rkt%2529._.U%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">U</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Vectorof%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">Vectorof</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Real%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">Real</a></span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Fl.Vector%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">FlVector</a></span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr></table></blockquote></div><div class="SIntrapara">Returns the alpha (zeroth) component of <span class="RktVar">fm</span>, blurred with standard deviation <span class="RktVar">σ</span> and colorized by <span class="RktVar">color</span>.
Assumes <span class="RktVar">fm</span> and <span class="RktVar">color</span> are alpha-multiplied; see <a href="Overview.html#%28part._flomap~3aopacity%29" data-pltdoc="x">Opacity (Alpha Components)</a>.</div></p><p><div class="SIntrapara">If <span class="RktVar">color</span> = <span class="RktVal">#f</span>, it is interpreted as <span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=flonums.html%23%2528def._%2528%2528lib._racket%252Fflonum..rkt%2529._flvector%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">flvector</a></span><span class="stt"> </span><span class="RktVal">1.0</span><span class="stt"> </span><span class="RktVal">0.0</span><span class="stt"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=stx-patterns.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fstxcase-scheme..rkt%2529._......%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">...</a></span><span class="RktPn">)</span>, or opaque black.
</div><div class="SIntrapara"><p><div class="SIntrapara">Examples:</div><div class="SIntrapara"><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap->bitmap</a></span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-shadow%29%29" class="RktValLink" data-pltdoc="x">flomap-shadow</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Resizing.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="RktValLink" data-pltdoc="x">flomap-inset</a></span><span class="hspace"> </span><span class="RktSym">text-fm</span><span class="hspace"> </span><span class="RktVal">12</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVal">4</span><span class="hspace"> </span><span class="RktVal">#</span><span class="RktVal">(</span><span class="RktVal">1/2</span><span class="hspace"> </span><span class="RktVal">1/8</span><span class="hspace"> </span><span class="RktVal">0</span><span class="hspace"> </span><span class="RktVal">1/4</span><span class="RktVal">)</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></table></td></tr><tr><td><p><img src="pict_197.png" alt="image" width="219" height="73"/></p></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap->bitmap</a></span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Compositing.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-cc-superimpose%29%29" class="RktValLink" data-pltdoc="x">flomap-cc-superimpose</a></span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-shadow%29%29" class="RktValLink" data-pltdoc="x">flomap-shadow</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Resizing.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="RktValLink" data-pltdoc="x">flomap-inset</a></span><span class="hspace"> </span><span class="RktSym">text-fm</span><span class="hspace"> </span><span class="RktVal">12</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVal">4</span><span class="hspace"> </span><span class="RktVal">#</span><span class="RktVal">(</span><span class="RktVal">1/2</span><span class="hspace"> </span><span class="RktVal">1/8</span><span class="hspace"> </span><span class="RktVal">0</span><span class="hspace"> </span><span class="RktVal">1/4</span><span class="RktVal">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktSym">text-fm</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></table></td></tr><tr><td><p><img src="pict_198.png" alt="image" width="219" height="73"/></p></td></tr></table></blockquote></div></p></div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._images/flomap..rkt)._flomap-outline))"></a><span title="Provided from: images/flomap | Package: images-lib"><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-outline%29%29" class="RktValDef RktValLink" data-pltdoc="x">flomap-outline</a></span></span><span class="hspace"> </span><span class="RktVar">fm</span><span class="hspace"> </span><span class="RktVar">radius</span><span class="hspace"> </span>[<span class="RktVar">color</span>]<span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">fm</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="Struct_Type_and_Accessors.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap%29%29" class="RktValLink" data-pltdoc="x">flomap</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">radius</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Real%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">Real</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">color</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Option%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">Option</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types-extra..rkt%2529._.U%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">U</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Vectorof%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">Vectorof</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Real%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">Real</a></span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=ts-reference&rel=type-ref.html%23%2528form._%2528%2528lib._typed-racket%252Fbase-env%252Fbase-types..rkt%2529._.Fl.Vector%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">FlVector</a></span><span class="RktPn">)</span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr></table></blockquote></div><div class="SIntrapara">Returns a flomap that outlines <span class="RktVar">fm</span> with a <span class="RktVar">radius</span>-thick line when <span class="RktVar">fm</span> is superimposed over it.
Assumes <span class="RktVar">fm</span> and <span class="RktVar">color</span> are alpha-multiplied; see <a href="Overview.html#%28part._flomap~3aopacity%29" data-pltdoc="x">Opacity (Alpha Components)</a>.</div></p><p><div class="SIntrapara">If <span class="RktVar">color</span> = <span class="RktVal">#f</span>, it is interpreted as <span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=flonums.html%23%2528def._%2528%2528lib._racket%252Fflonum..rkt%2529._flvector%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">flvector</a></span><span class="stt"> </span><span class="RktVal">1.0</span><span class="stt"> </span><span class="RktVal">0.0</span><span class="stt"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=stx-patterns.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fstxcase-scheme..rkt%2529._......%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">...</a></span><span class="RktPn">)</span>, or opaque black.
</div><div class="SIntrapara"><p><div class="SIntrapara">Examples:</div><div class="SIntrapara"><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap->bitmap</a></span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-outline%29%29" class="RktValLink" data-pltdoc="x">flomap-outline</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Resizing.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="RktValLink" data-pltdoc="x">flomap-inset</a></span><span class="hspace"> </span><span class="RktSym">text-fm</span><span class="hspace"> </span><span class="RktVal">2</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVal">2</span><span class="hspace"> </span><span class="RktVal">#</span><span class="RktVal">(</span><span class="RktVal">1</span><span class="hspace"> </span><span class="RktVal">0</span><span class="hspace"> </span><span class="RktVal">1</span><span class="hspace"> </span><span class="RktVal">1</span><span class="RktVal">)</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></table></td></tr><tr><td><p><img src="pict_199.png" alt="image" width="199" height="53"/></p></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap->bitmap</a></span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Compositing.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-cc-superimpose%29%29" class="RktValLink" data-pltdoc="x">flomap-cc-superimpose</a></span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-outline%29%29" class="RktValLink" data-pltdoc="x">flomap-outline</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Resizing.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="RktValLink" data-pltdoc="x">flomap-inset</a></span><span class="hspace"> </span><span class="RktSym">text-fm</span><span class="hspace"> </span><span class="RktVal">2</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVal">2</span><span class="hspace"> </span><span class="RktVal">#</span><span class="RktVal">(</span><span class="RktVal">1</span><span class="hspace"> </span><span class="RktVal">0</span><span class="hspace"> </span><span class="RktVal">1</span><span class="hspace"> </span><span class="RktVal">1</span><span class="RktVal">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktSym">text-fm</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></table></td></tr><tr><td><p><img src="pict_200.png" alt="image" width="199" height="53"/></p></td></tr></table></blockquote></div></p></div></p><p><div class="SIntrapara">The greatest alpha value in the returned outline is the greatest alpha value in <span class="RktVar">fm</span>.
Because of this, <span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-outline%29%29" class="RktValLink" data-pltdoc="x">flomap-outline</a></span> does fine with flomaps with fully opaque regions that are made semi-transparent:
</div><div class="SIntrapara"><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=define.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._define%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">define</a></span><span class="hspace"> </span><span class="RktSym">trans-text-fm</span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Pointwise_Operations.html#%28def._%28%28lib._images%2Fflomap..rkt%29._fm%2A%29%29" class="RktValLink" data-pltdoc="x">fm*</a></span><span class="hspace"> </span><span class="RktVal">0.5</span><span class="hspace"> </span><span class="RktSym">text-fm</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap->bitmap</a></span><span class="hspace"> </span><span class="RktSym">trans-text-fm</span><span class="RktPn">)</span></td></tr><tr><td><p><img src="pict_201.png" alt="image" width="195" height="49"/></p></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap->bitmap</a></span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Compositing.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-cc-superimpose%29%29" class="RktValLink" data-pltdoc="x">flomap-cc-superimpose</a></span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-outline%29%29" class="RktValLink" data-pltdoc="x">flomap-outline</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Resizing.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="RktValLink" data-pltdoc="x">flomap-inset</a></span><span class="hspace"> </span><span class="RktSym">trans-text-fm</span><span class="hspace"> </span><span class="RktVal">2</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVal">2</span><span class="hspace"> </span><span class="RktVal">#</span><span class="RktVal">(</span><span class="RktVal">1</span><span class="hspace"> </span><span class="RktVal">0</span><span class="hspace"> </span><span class="RktVal">1</span><span class="hspace"> </span><span class="RktVal">1</span><span class="RktVal">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktSym">trans-text-fm</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></table></td></tr><tr><td><p><img src="pict_202.png" alt="image" width="199" height="53"/></p></td></tr></table></blockquote></div><div class="SIntrapara">However, it does not do so well with flomaps that are partly opaque and partly semi-transparent:
</div><div class="SIntrapara"><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=define.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._define%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">define</a></span><span class="hspace"> </span><span class="RktSym">mixed-text-fm</span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Compositing.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-vc-append%29%29" class="RktValLink" data-pltdoc="x">flomap-vc-append</a></span><span class="hspace"> </span><span class="RktSym">text-fm</span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._make-flomap%29%29" class="RktValLink" data-pltdoc="x">make-flomap</a></span><span class="hspace"> </span><span class="RktVal">4</span><span class="hspace"> </span><span class="RktVal">0</span><span class="hspace"> </span><span class="RktVal">10</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktSym">trans-text-fm</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></table></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="stt">> </span><span class="RktPn">(</span><span class="RktSym"><a href="Conversion_and_Construction.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-~3ebitmap%29%29" class="RktValLink" data-pltdoc="x">flomap->bitmap</a></span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Compositing.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-cc-superimpose%29%29" class="RktValLink" data-pltdoc="x">flomap-cc-superimpose</a></span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-outline%29%29" class="RktValLink" data-pltdoc="x">flomap-outline</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="Resizing.html#%28def._%28%28lib._images%2Fflomap..rkt%29._flomap-inset%29%29" class="RktValLink" data-pltdoc="x">flomap-inset</a></span><span class="hspace"> </span><span class="RktSym">mixed-text-fm</span><span class="hspace"> </span><span class="RktVal">2</span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktVal">2</span><span class="hspace"> </span><span class="RktVal">#</span><span class="RktVal">(</span><span class="RktVal">1</span><span class="hspace"> </span><span class="RktVal">0</span><span class="hspace"> </span><span class="RktVal">1</span><span class="hspace"> </span><span class="RktVal">1</span><span class="RktVal">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="hspace"> </span><span class="RktSym">mixed-text-fm</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></table></td></tr><tr><td><p><img src="pict_203.png" alt="image" width="199" height="112"/></p></td></tr></table></blockquote></div></p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="Spatial_Transformations.html" title="backward to "4.10 Spatial Transformations"" data-pltdoc="x">← prev</a> <a href="flomap_title.html" title="up to "4 Floating-Point Bitmaps"" data-pltdoc="x">up</a> <span class="nonavigation">next →</span></span> </div></div></div><div id="contextindicator"> </div></body></html>
|