<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to ExampleBackgroundImage</title><link>https://sourceforge.net/p/drawj2d/wiki/ExampleBackgroundImage/</link><description>Recent changes to ExampleBackgroundImage</description><atom:link href="https://sourceforge.net/p/drawj2d/wiki/ExampleBackgroundImage/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 03 Oct 2017 01:17:00 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/drawj2d/wiki/ExampleBackgroundImage/feed" rel="self" type="application/rss+xml"/><item><title>ExampleBackgroundImage modified by A. Vontobel</title><link>https://sourceforge.net/p/drawj2d/wiki/ExampleBackgroundImage/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Example how to import an image to scale.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Drawj2d output" src="./attachment/out-ExampleBackgroundImage.svg"/&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;# drawj2d -Tsvg -W 210 -H 150  ExampleBackgroundImage.hcl

offset 20 60
font 4.5
unitlength [expr 1/50] m

# scanned drawing (Salginatobel bridge)
#     filename    resolution (dpi)  insertion point (px)   drawing scale 1:
image Salgina.jpg 200               79 460                 50

# draw on top of the image
pen blue
dot
label 0/0 NW

# vertical dimension line
mr [mm -5 0]
dimlinerel 0 0.65

# horizontal dimension line
m 0 [mm -25]
dimline [tx 6.7]

# text box
pen white
fillrect [mm 25 39  75 30]
pen blue
mr [mm 3 7]
text {Strassenbrücke über das Salginatobel}
text {Armierungsplan der Mittelöffnung}
text {Ingenieurbureau Maillart, Genf, 1929}
text {Quelle: ETH Zürich, Bildarchiv}
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. Vontobel</dc:creator><pubDate>Tue, 03 Oct 2017 01:17:00 -0000</pubDate><guid>https://sourceforge.net1c50610770ed8da18059b2fbe6caea3925f23dda</guid></item></channel></rss>