Debian Codegraph @

documentation-sources/content/xdocs/using/glossary.xml

raw
1 <?xml version="1.0"?>
2
3 <!--
4
5 Licensed to the Apache Software Foundation (ASF) under one or more
6 contributor license agreements. See the NOTICE file distributed with
7 this work for additional information regarding copyright ownership.
8 The ASF licenses this file to You under the Apache License, Version 2.0
9 (the "License"); you may not use this file except in compliance with
10 the License. You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19
20 -->
21
22 <!-- ========================================================================= -->
23 <!-- author [email protected] -->
24 <!-- version $Id$ -->
25 <!-- ========================================================================= -->
26
27 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
28 <document>
29 <header>
30 <title>Batik Glossary</title>
31 </header>
32
33 <body>
34 <section id="Bridge">
35 <title>Bridge</title>
36 <p>
37 A bridge is a class that handles an element in an SVG document, either
38 by constructing a corresponding node in the GVT tree, or by informing
39 the user agent that it has encountered the element.
40 </p>
41 </section>
42
43 <section id="GVT">
44 <title>GVT (Graphic Vector Toolkit)</title>
45 <p>
46 GVT (Graphic Vector Toolkit) is an object oriented framework that
47 describes complex 2D graphics in terms of a tree of Java objects. GVT
48 is used in Batik to represent how SVG images are to be rendered.
49 </p>
50 </section>
51
52 <section id="SVGDOM">
53 <title>SVG DOM</title>
54 <p>
55 The SVG DOM (Document Object Model) defines the API that programming
56 languages use to interact with SVG documents. There are different “bindings”
57 of the DOM API for different languages. For example, there is an ECMAScript
58 binding that allows SVG scripts to access or modify SVG documents, for example
59 in reaction to events. There is also a Java binding which allows Java
60 programs to dynamically interact with SVG documents. The Java binding
61 and the ECMAScript binding are both available in Batik.
62 </p>
63 </section>
64
65 <section id="SVGGenerator">
66 <title>SVG Generator</title>
67 <p>
68 The SVG Generator is a module of Batik that allows Java applications
69 to create SVG content without needing specific knowledge of SVG. Applications
70 doing graphics in Java use an API, embodied by the
71 <code>Graphics2D</code> class, to do all their rendering operations.
72 They use the same code, but different implementations of that API, to
73 render to various outputs such as a screen or a printer. The SVG
74 Generator is another implementation of that API that, instead of
75 drawing to a screen or a printer, generates SVG content. Because it
76 implements the same API as for printing or drawing to the screen, the
77 same code that does screen rendering and printing can be used with the
78 generator to generate SVG content.
79 </p>
80 </section>
81 </body>
82 </document>