Lines Matching defs:result
171 let mut result = String::new();
172 result += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
173 result += "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n";
175 result += &format!(
177 result += "\t<rect width=\"100%\" height=\"100%\" fill=\"#FFFFFF\"/>\n";
178 result += "\t<path d=\"";
183 result += " ";
185 result += &format!("M{},{}h1v1h-1z", x + border, y + border);
189 result += "\" fill=\"#000000\"/>\n";
190 result += "</svg>\n";
191 result