Minimal docs for XmlState

parent cb8e8e57
......@@ -76,6 +76,9 @@ impl XmlState {
/// Starts a node for an SVG element of type `name` and hooks it to the tree.
/// `pbag` is the set of key/value pairs from the element's XML attributes.
pub fn standard_element_start(
&mut self,
handle: *const RsvgHandle,
......@@ -114,6 +117,7 @@ impl XmlState {
/// Ends an SVG element for which we create a node.
pub fn standard_element_end(&mut self, handle: *const RsvgHandle, name: &str) {
if let Some(ref current_node) = self.current_node.clone() {
// The "svg" node is special; it parses its style attributes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment