Changeset 17333 in josm for trunk/src/com/kitfox
- Timestamp:
- 2020-11-23T16:28:11+01:00 (4 years ago)
- Location:
- trunk/src/com/kitfox/svg
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/SVGCache.java
r8084 r17333 38 38 39 39 /** 40 * A conv ieniencesingleton for allowing all classes to access a common SVG universe.40 * A convenient singleton for allowing all classes to access a common SVG universe. 41 41 * 42 42 * @author kitfox -
trunk/src/com/kitfox/svg/SVGElement.java
r15912 r17333 88 88 protected String cssClass = null; 89 89 /** 90 * Styles defined for this elem nt via the <b>style</b> attribute.90 * Styles defined for this element via the <b>style</b> attribute. 91 91 */ 92 92 private Map<String, String> inlineStyles = Collections.emptyMap(); … … 115 115 * This element may override the URI we resolve against with an xml:base 116 116 * attribute. If so, a copy is placed here. Otherwise, we defer to our 117 * parent for the re olution base117 * parent for the resolution base 118 118 */ 119 119 protected URI xmlBase = null; -
trunk/src/com/kitfox/svg/pathcmd/Arc.java
r14328 r17333 43 43 /** 44 44 * This is a little used SVG function, as most editors will save curves as 45 * Beziers. To reduce the need to rely on the Batik library, this functional lity45 * Beziers. To reduce the need to rely on the Batik library, this functionality 46 46 * is being bypassed for the time being. In the future, it would be nice to 47 47 * extend the GeneralPath command to include the arcTo ability provided by Batik. -
trunk/src/com/kitfox/svg/xml/StyleAttribute.java
r15901 r17333 55 55 static final Pattern patternUrl = Pattern.compile("\\s*url\\((.*)\\)\\s*"); 56 56 static final Matcher matchFpNumUnits = Pattern.compile("\\s*([-+]?((\\d*\\.\\d+)|(\\d+))([-+]?[eE]\\d+)?)\\s*(px|cm|mm|in|pc|pt|em|ex)\\s*").matcher(""); 57 57 58 58 String name; 59 59 String stringValue; 60 60 61 boolean colorCompat able = false;62 boolean urlCompat able = false;61 boolean colorCompatible = false; 62 boolean urlCompatible = false; 63 63 64 64 /** Creates a new instance of StyleAttribute */ … … 67 67 this(null, null); 68 68 } 69 70 public StyleAttribute(String name) 69 70 public StyleAttribute(String name) 71 71 { 72 72 this(name, null); … … 239 239 return getURIValue(null); 240 240 } 241 241 242 242 /** 243 * Parse this s ytle attribute as a URL and return it in URI form resolved243 * Parse this style attribute as a URL and return it in URI form resolved 244 244 * against the passed base. 245 245 * -
trunk/src/com/kitfox/svg/xml/XMLParseUtil.java
r15912 r17333 168 168 * Scans an input string for double values. For each value found, places 169 169 * in a list. This method regards any characters not part of a floating 170 * point value to be sep erators. Thus this will parse whitespace seperated,171 * comma sep erated, and many other separation schemes correctly.170 * point value to be separators. Thus this will parse whitespace separated, 171 * comma separated, and many other separation schemes correctly. 172 172 */ 173 173 public synchronized static double[] parseDoubleList(String list)
Note:
See TracChangeset
for help on using the changeset viewer.