Commit 5698bd2e authored by RazrFalcon's avatar RazrFalcon

f

parent 5f94d7a9
......@@ -117,8 +117,6 @@ fn clip_group(
}
}
}
// TODO: mask
}
fn draw_group_child(
......
......@@ -104,8 +104,6 @@ fn clip_group(
}
}
}
// TODO: mask
}
fn draw_group_child(
......
......@@ -121,7 +121,7 @@ impl Filter<qt::Image> for QtFilter {
}
Some(usvg::FilterInput::SourceAlpha) => {
let image = copy_image(canvas, region)?;
let mut image = image.to_rgba().ok_or(Error::AllocFailed)?; // TODO: optional
let mut image = image.to_rgba().ok_or(Error::AllocFailed)?;
// Set RGB to black. Keep alpha as is.
for p in image.data_mut().chunks_mut(4) {
......
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