diff options
author | RazrFalcon <razrfalcon@gmail.com> | 2018-12-08 21:38:58 +0200 |
---|---|---|
committer | RazrFalcon <razrfalcon@gmail.com> | 2018-12-08 21:38:58 +0200 |
commit | 5698bd2e4f83aa2fb63f84c359eb4f8cea8e2256 (patch) | |
tree | 32fccb3a0c85f670e299daaf598e5182daff87e7 /src | |
parent | 5f94d7a9b426db0b180a10677f1c588cafa72349 (diff) |
f
Diffstat (limited to 'src')
-rw-r--r-- | src/backend_cairo/clippath.rs | 2 | ||||
-rw-r--r-- | src/backend_qt/clippath.rs | 2 | ||||
-rw-r--r-- | src/backend_qt/filter.rs | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/src/backend_cairo/clippath.rs b/src/backend_cairo/clippath.rs index ec7c574..eff9296 100644 --- a/src/backend_cairo/clippath.rs +++ b/src/backend_cairo/clippath.rs @@ -117,8 +117,6 @@ fn clip_group( } } } - - // TODO: mask } fn draw_group_child( diff --git a/src/backend_qt/clippath.rs b/src/backend_qt/clippath.rs index 7d365c9..00735b4 100644 --- a/src/backend_qt/clippath.rs +++ b/src/backend_qt/clippath.rs @@ -104,8 +104,6 @@ fn clip_group( } } } - - // TODO: mask } fn draw_group_child( diff --git a/src/backend_qt/filter.rs b/src/backend_qt/filter.rs index a1ea704..59659c0 100644 --- a/src/backend_qt/filter.rs +++ b/src/backend_qt/filter.rs @@ -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) { |