• R/O
  • SSH
  • HTTPS

copper: Commit


Commit MetaInfo

Revision1590 (tree)
Time2019-08-21 12:57:51
Authormiyabe

Log Message

(empty log message)

Change Summary

  • delete: copper/trunk/homare/src/main/java/jp/cssj/homare/impl/ua/svg/BridgeContextImpl.java

Incremental Difference

--- copper/trunk/homare/src/main/java/jp/cssj/homare/impl/ua/svg/BridgeContextImpl.java (revision 1589)
+++ copper/trunk/homare/src/main/java/jp/cssj/homare/impl/ua/svg/BridgeContextImpl.java (nonexistent)
@@ -1,35 +0,0 @@
1-package jp.cssj.homare.impl.ua.svg;
2-
3-import java.awt.geom.Dimension2D;
4-
5-import org.apache.batik.bridge.BridgeContext;
6-import org.apache.batik.bridge.DocumentLoader;
7-import org.apache.batik.bridge.TextPainter;
8-import org.apache.batik.bridge.URIResolver;
9-import org.w3c.dom.svg.SVGDocument;
10-
11-import jp.cssj.homare.ua.UserAgent;
12-
13-public class BridgeContextImpl extends BridgeContext {
14- protected final UserAgent ua;
15- protected final SVGImageLoader loader;
16-
17- public BridgeContextImpl(String docURI, UserAgent ua, Dimension2D viewport, SVGImageLoader loader) {
18- super(new MyUserAgent(docURI, ua, viewport));
19- this.ua = ua;
20- this.loader = loader;
21- this.setDynamic(false);
22- TextPainter textPainer = new MyTextPainter(ua);
23- this.setTextPainter(textPainer);
24- }
25-
26- public void registerSVGBridges() {
27- super.registerSVGBridges();
28- this.putBridge(new MySVGTextElementBridge(this.ua));
29- this.putBridge(new MySVGImageElementBridge(this.ua));
30- }
31-
32- public URIResolver createURIResolver(SVGDocument doc, DocumentLoader dl) {
33- return new MyURIResolver(doc, dl, this.ua, this.loader);
34- }
35-}
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Show on old repository browser