Lines Matching defs:result
232 let mut result = String::new();
233 result += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
234 result += "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n";
236 result += &format!(
238 result += "\t<rect width=\"100%\" height=\"100%\" fill=\"#FFFFFF\"/>\n";
239 result += "\t<path d=\"";
244 result += " ";
246 result += &format!("M{},{}h1v1h-1z", x + border, y + border);
250 result += "\" fill=\"#000000\"/>\n";
251 result += "</svg>\n";
252 result