Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Minor simplifications and clarifications

AuthorDaveJarvis <email>
Date2020-09-12 16:54:24 GMT-0700
Commit4b01d5ba70d5f72e9231d1b36a23345821f0167d
Parent7a1a012
Delta3 lines added, 3 lines removed
src/main/java/com/scrivenvar/graphics/SvgRasterizer.java
* a graphics context.
*
- * @param xml The SVG xml document.
+ * @param svg The SVG xml document.
* @param w Scale the image width to this size (aspect ratio is
* maintained).
* @return The vector graphic transcoded into a raster image format.
* @throws TranscoderException Could not convert the vector graphic to an
* instance of {@link Image}.
*/
- public static BufferedImage rasterizeString( final String xml, final int w )
+ public static BufferedImage rasterizeString( final String svg, final int w )
throws IOException, TranscoderException {
- return rasterize( toDocument( xml ), w );
+ return rasterize( toDocument( svg ), w );
}