Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix conversion of image data slice | pylbrecht | 2019-12-17 | 1 | -1/+1 | |
| | ||||||
* | Handle empty paths in PathBuilder::get_current_point() | pylbrecht | 2019-12-17 | 1 | -12/+8 | |
| | | | | | The case of calling get_current_point() on empty paths has not been handled and caused panics. | |||||
* | Apply transformation in Path::contains_point() | pylbrecht | 2019-12-17 | 1 | -2/+5 | |
| | ||||||
* | Don't reuse PathBuilder after calling finish() | pylbrecht | 2019-12-17 | 1 | -0/+1 | |
| | ||||||
* | Implement DrawTarget::snapshot() | pylbrecht | 2019-10-11 | 1 | -1/+1 | |
| | ||||||
* | Implement Path::transformed_copy_to_builder() | pylbrecht | 2019-10-11 | 1 | -7/+10 | |
| | ||||||
* | Show warn! for shadow drawing operations | pylbrecht | 2019-10-11 | 1 | -1/+1 | |
| | ||||||
* | Implement LinearGradient and RadialGradient | pylbrecht | 2019-09-17 | 1 | -64/+42 | |
| | ||||||
* | Implement ColorBurn | pylbrecht | 2019-09-17 | 1 | -1/+1 | |
| | ||||||
* | Update raqote | pylbrecht | 2019-09-17 | 1 | -2/+1 | |
| | ||||||
* | Add naive implementation for ellipse() | pylbrecht | 2019-09-17 | 1 | -7/+136 | |
| | | | | | rust-azure's ellipse() C++ implementation copy/pasted and kind of ported to Rust. Obviously needs refactor to turn it into idiomatic Rust. | |||||
* | Don't use catch all in match | pylbrecht | 2019-09-01 | 1 | -1/+1 | |
| | ||||||
* | Use raqote's implementation of Path::contains_point() | pylbrecht | 2019-09-01 | 1 | -8/+2 | |
| | ||||||
* | Implement create_gradient_stops() | pylbrecht | 2019-08-29 | 1 | -2/+14 | |
| | ||||||
* | Refactor Path::contains_point() using any() | pylbrecht | 2019-08-25 | 1 | -21/+8 | |
| | ||||||
* | Implement PathBuilder::get_current_point() | pylbrecht | 2019-08-25 | 1 | -1/+13 | |
| | ||||||
* | Implement Path::contains_point() | pylbrecht | 2019-08-25 | 1 | -2/+23 | |
| | ||||||
* | Fix the build and tidy and address nits | Bastien Orivel | 2019-08-21 | 1 | -26/+18 | |
| | ||||||
* | Implement Source::Surface for FillOrStrokeStyle with raqote | Bastien Orivel | 2019-08-21 | 1 | -1/+14 | |
| | ||||||
* | Implement get_format | Bastien Orivel | 2019-08-21 | 1 | -1/+1 | |
| | | | | | Since raqote doesn't have multiple formats for its surfaces, this is a noop to avoid crashing with the unimplemented | |||||
* | Implement a few functions to make tests in draw-image and draw-path pass | Bastien Orivel | 2019-08-21 | 1 | -13/+50 | |
| | ||||||
* | Make tidy happy again | Bastien Orivel | 2019-08-21 | 1 | -12/+10 | |
| | ||||||
* | Implement create_similar_draw_target | Bastien Orivel | 2019-08-21 | 1 | -2/+2 | |
| | ||||||
* | Imlplement get_composition_op | Bastien Orivel | 2019-08-21 | 1 | -2/+2 | |
| | ||||||
* | Implement set_shadow_color, set_global_composition and stroke_rect | Bastien Orivel | 2019-08-21 | 1 | -10/+95 | |
| | ||||||
* | Match the azure backend regarding cap stuff | Bastien Orivel | 2019-08-21 | 1 | -1/+7 | |
| | | | | | I think this is wrong because it won't respect cap style at all when stroking lines but we'll cross that bridge when we get to it | |||||
* | Pass BlendMode::Clear to the fill method of DrawTarget in clear_rect | Bastien Orivel | 2019-08-21 | 1 | -1/+3 | |
| | | | | | | This makes some tests regarding clearing rects pass. Otherwise the rect wouldn't get cleared properly and it'd keep its original color but get an alpha of 0 | |||||
* | Implement snapshot_data_owned | Bastien Orivel | 2019-08-21 | 1 | -1/+8 | |
| | ||||||
* | Implement get_size | Bastien Orivel | 2019-08-21 | 1 | -1/+1 | |
| | ||||||
* | Properly pass draw_options in fill_rect | Bastien Orivel | 2019-08-21 | 1 | -2/+8 | |
| | ||||||
* | Implement stroke_line and set_stroke_style | Bastien Orivel | 2019-08-21 | 1 | -9/+19 | |
| | ||||||
* | Implement clear_rect | Bastien Orivel | 2019-08-21 | 1 | -2/+19 | |
| | ||||||
* | Make tidy happy | Bastien Orivel | 2019-08-21 | 1 | -18/+36 | |
| | ||||||
* | Implement size_from_pattern | Bastien Orivel | 2019-08-21 | 1 | -2/+12 | |
| | | | | | | | I tried to mimic the azure implementation but raqote doesn't have a concept of horizontal or vertical repeat so this might be wrong/incomplete but this is the last function needed to finally have some tests pass | |||||
* | Implement need_to_draw_shadow | Bastien Orivel | 2019-08-21 | 1 | -3/+11 | |
| | ||||||
* | Implement snapshot_data | Bastien Orivel | 2019-08-21 | 1 | -2/+9 | |
| | ||||||
* | Add an implementation for fill_rect | Bastien Orivel | 2019-08-21 | 1 | -3/+15 | |
| | | | | Again, this is probably incomplete but it'll do for now | |||||
* | Implement Pattern::is_zero_size_gradient | Bastien Orivel | 2019-08-21 | 1 | -2/+11 | |
| | | | | | There are probably other times where this would be true but I'll worry about that later | |||||
* | Implement set_fill_style | Bastien Orivel | 2019-08-21 | 1 | -3/+5 | |
| | ||||||
* | Add a way to convert a FillOrStrokeStyle to a raqote Source | Bastien Orivel | 2019-08-21 | 1 | -0/+22 | |
| | | | | For now most of it unimplemented but it'll allow for some more testing | |||||
* | Implement some of GenericDrawTarget's methods for raqote | pylbrecht | 2019-08-21 | 1 | -11/+21 | |
| | ||||||
* | Implement fill() for raqote::DrawTarget | pylbrecht | 2019-08-21 | 1 | -6/+31 | |
| | ||||||
* | Deal with fallout from mutable trait method change. | Josh Matthews | 2019-08-21 | 1 | -60/+67 | |
| | ||||||
* | WIP: Make GenericPathBuilder's methods take &mut self | pylbrecht | 2019-08-21 | 1 | -72/+72 | |
| | ||||||
* | Implement provided raqote::PathBuilder's methods for GenericPathBuilder | pylbrecht | 2019-08-21 | 1 | -7/+14 | |
| | ||||||
* | Make GenericPathBuilder take &mut self | pylbrecht | 2019-08-21 | 1 | -0/+51 | |
| | ||||||
* | Implement StrokeOptions | pylbrecht | 2019-08-21 | 1 | -5/+43 | |
| | ||||||
* | Implement DrawOptions.set_alpha() | pylbrecht | 2019-08-21 | 1 | -2/+2 | |
| | ||||||
* | Update euclid. | Emilio Cobos Álvarez | 2019-07-23 | 1 | -1/+1 | |
| | | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is. | |||||
* | Fix some new warnings | Simon Sapin | 2019-06-22 | 1 | -9/+9 | |
| |