Re: SVG Info

Martin Gainty <[email protected]> Wed, 9 May 2018 00:31:03 +0000
Newsgroups gmane.text.xml.batik.user
Message-ID <BLUPR14MB025939C59E36760D94D5BEAAAE990@BLUPR14MB0259.namprd14.prod.outlook.com>
--_000_BLUPR14MB025939C59E36760D94D5BEAAAE990BLUPR14MB0259namp_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi Vince

there is a good code examples to create SVG here

https://xmlgraphics.apache.org/batik/using/svg-generator.html

[http://www.apache.org/images/asf_logo.gif]<https://xmlgraphics.apache.org/=
batik/using/svg-generator.html>

SVG Generator: SVGGraphics2D<https://xmlgraphics.apache.org/batik/using/svg=
-generator.html>
xmlgraphics.apache.org
As SVG is emerging as a promising graphics format for a wide range of domai=
ns and applications, bridging it with Java becomes important. This page exp=
lains how Batik=92s SVGGraphics2D, referred to as the SVG Generator, makes =
this possible.




HTH

Martin
__________


________________________________
From: Vincent Mirian <[email protected]>
Sent: Tuesday, May 8, 2018 2:02 PM
To: [email protected]
Subject: SVG Info

Hi,

I am using batik to generate a 2D SVG image. To draw the SVG image, I would=
 need:
1) to draw Rectangular shapes (nodes),
2) to draw connections (edges) between the nodes, and,
3) to 'draw/display' images from png files as nodes.

Any suggestions on how to complete these tasks would be appreciated.

Thanks in advance,
--
Vincent Mirian

--_000_BLUPR14MB025939C59E36760D94D5BEAAAE990BLUPR14MB0259namp_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Arial,Helvetica,sans-serif;" dir=3D"ltr">
<p style=3D"margin-top:0;margin-bottom:0">Hi Vince<br>
<br>
there is a good code examples to create SVG here</p>
<p style=3D"margin-top:0;margin-bottom:0"><a href=3D"https://xmlgraphics.ap=
ache.org/batik/using/svg-generator.html" class=3D"OWAAutoLink" id=3D"LPlnk9=
76280" previewremoved=3D"true">https://xmlgraphics.apache.org/batik/using/s=
vg-generator.html</a></p>
<div id=3D"LPBorder_GT_15258258159850.3568161037219859" style=3D"margin-bot=
tom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id=3D"LPContainer_15258258159790.9051320401102816" role=3D"presentat=
ion" cellspacing=3D"0" style=3D"width: 90%; background-color: rgb(255, 255,=
 255); position: relative; overflow: auto; padding-top: 20px; padding-botto=
m: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); borde=
r-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign=3D"top" style=3D"border-spacing: 0px;">
<td id=3D"ImageCell_15258258159810.04375626004576394" colspan=3D"1" style=
=3D"width: 250px; position: relative; display: table-cell; padding-right: 2=
0px;">
<div id=3D"LPImageContainer_15258258159810.9284641987747855" style=3D"backg=
round-color: rgb(255, 255, 255); height: 64px; position: relative; margin: =
auto; display: table; width: 250px;">
<a id=3D"LPImageAnchor_15258258159820.09790541362442506" href=3D"https://xm=
lgraphics.apache.org/batik/using/svg-generator.html" target=3D"_blank" styl=
e=3D"display: table-cell; text-align: center;"><img id=3D"LPThumbnailImageI=
D_15258258159820.9198745787540596" width=3D"250" height=3D"64" style=3D"dis=
play: inline-block; max-width: 250px; max-height: 250px; height: 64px; widt=
h: 250px; border-width: 0px; vertical-align: bottom;" src=3D"http://www.apa=
che.org/images/asf_logo.gif"></a></div>
</td>
<td id=3D"TextCell_15258258159820.21087489932916648" colspan=3D"2" style=3D=
"vertical-align: top; position: relative; padding: 0px; display: table-cell=
;">
<div id=3D"LPRemovePreviewContainer_15258258159820.2645392570773013"></div>
<div id=3D"LPTitle_15258258159820.8265837101711304" style=3D"top: 0px; colo=
r: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: wf_seg=
oe-ui_light, &quot;Segoe UI Light&quot;, &quot;Segoe WP Light&quot;, &quot;=
Segoe UI&quot;, &quot;Segoe WP&quot;, Tahoma, Arial, sans-serif; line-heigh=
t: 21px;">
<a id=3D"LPUrlAnchor_15258258159830.4068694883336894" href=3D"https://xmlgr=
aphics.apache.org/batik/using/svg-generator.html" target=3D"_blank" style=
=3D"text-decoration: none;">SVG Generator: SVGGraphics2D</a></div>
<div id=3D"LPMetadata_15258258159830.5386346560271764" style=3D"margin: 10p=
x 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_se=
goe-ui_normal, &quot;Segoe UI&quot;, &quot;Segoe WP&quot;, Tahoma, Arial, s=
ans-serif; font-size: 14px; line-height: 14px;">
xmlgraphics.apache.org</div>
<div id=3D"LPDescription_15258258159840.9718343394283551" style=3D"display:=
 block; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-=
ui_normal, &quot;Segoe UI&quot;, &quot;Segoe WP&quot;, Tahoma, Arial, sans-=
serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hid=
den;">
As SVG is emerging as a promising graphics format for a wide range of domai=
ns and applications, bridging it with Java becomes important. This page exp=
lains how Batik=92s SVGGraphics2D, referred to as the SVG Generator, makes =
this possible.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
<p></p>
<p style=3D"margin-top:0;margin-bottom:0">HTH</p>
<div id=3D"Signature">Martin <br>
__________</div>
<br>
<br>
<div style=3D"color: rgb(0, 0, 0);">
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> Vincent Mirian &lt;vi=
[email protected]&gt;<br>
<b>Sent:</b> Tuesday, May 8, 2018 2:02 PM<br>
<b>To:</b> [email protected]<br>
<b>Subject:</b> SVG Info</font>
<div>&nbsp;</div>
</div>
<meta content=3D"text/html; charset=3Dutf-8">
<div>
<div dir=3D"ltr">Hi,
<div><br>
</div>
<div>I am using batik to generate a 2D SVG image. To draw the SVG image, I =
would need:</div>
<div>1) to draw Rectangular shapes (nodes),</div>
<div>2) to draw&nbsp;connections (edges) between the nodes, and,</div>
<div>3) to 'draw/display' images from png files as nodes.</div>
<div><br>
</div>
<div>Any suggestions on how to complete these tasks would be appreciated.</=
div>
<div><br>
</div>
<div>Thanks in advance,<br>
-- <br>
<div class=3D"x_m_944821993378586879gmail_signature">
<div dir=3D"ltr">
<div>
<div>Vincent Mirian</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_BLUPR14MB025939C59E36760D94D5BEAAAE990BLUPR14MB0259namp_--