aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/raqote_backend.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix conversion of image data slicepylbrecht2019-12-171-1/+1
|
* Handle empty paths in PathBuilder::get_current_point()pylbrecht2019-12-171-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()pylbrecht2019-12-171-2/+5
|
* Don't reuse PathBuilder after calling finish()pylbrecht2019-12-171-0/+1
|
* Implement DrawTarget::snapshot()pylbrecht2019-10-111-1/+1
|
* Implement Path::transformed_copy_to_builder()pylbrecht2019-10-111-7/+10
|
* Show warn! for shadow drawing operationspylbrecht2019-10-111-1/+1
|
* Implement LinearGradient and RadialGradientpylbrecht2019-09-171-64/+42
|
* Implement ColorBurnpylbrecht2019-09-171-1/+1
|
* Update raqotepylbrecht2019-09-171-2/+1
|
* Add naive implementation for ellipse()pylbrecht2019-09-171-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 matchpylbrecht2019-09-011-1/+1
|
* Use raqote's implementation of Path::contains_point()pylbrecht2019-09-011-8/+2
|
* Implement create_gradient_stops()pylbrecht2019-08-291-2/+14
|
* Refactor Path::contains_point() using any()pylbrecht2019-08-251-21/+8
|
* Implement PathBuilder::get_current_point()pylbrecht2019-08-251-1/+13
|
* Implement Path::contains_point()pylbrecht2019-08-251-2/+23
|
* Fix the build and tidy and address nitsBastien Orivel2019-08-211-26/+18
|
* Implement Source::Surface for FillOrStrokeStyle with raqoteBastien Orivel2019-08-211-1/+14
|
* Implement get_formatBastien Orivel2019-08-211-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 passBastien Orivel2019-08-211-13/+50
|
* Make tidy happy againBastien Orivel2019-08-211-12/+10
|
* Implement create_similar_draw_targetBastien Orivel2019-08-211-2/+2
|
* Imlplement get_composition_opBastien Orivel2019-08-211-2/+2
|
* Implement set_shadow_color, set_global_composition and stroke_rectBastien Orivel2019-08-211-10/+95
|
* Match the azure backend regarding cap stuffBastien Orivel2019-08-211-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_rectBastien Orivel2019-08-211-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_ownedBastien Orivel2019-08-211-1/+8
|
* Implement get_sizeBastien Orivel2019-08-211-1/+1
|
* Properly pass draw_options in fill_rectBastien Orivel2019-08-211-2/+8
|
* Implement stroke_line and set_stroke_styleBastien Orivel2019-08-211-9/+19
|
* Implement clear_rectBastien Orivel2019-08-211-2/+19
|
* Make tidy happyBastien Orivel2019-08-211-18/+36
|
* Implement size_from_patternBastien Orivel2019-08-211-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_shadowBastien Orivel2019-08-211-3/+11
|
* Implement snapshot_dataBastien Orivel2019-08-211-2/+9
|
* Add an implementation for fill_rectBastien Orivel2019-08-211-3/+15
| | | | Again, this is probably incomplete but it'll do for now
* Implement Pattern::is_zero_size_gradientBastien Orivel2019-08-211-2/+11
| | | | | There are probably other times where this would be true but I'll worry about that later
* Implement set_fill_styleBastien Orivel2019-08-211-3/+5
|
* Add a way to convert a FillOrStrokeStyle to a raqote SourceBastien Orivel2019-08-211-0/+22
| | | | For now most of it unimplemented but it'll allow for some more testing
* Implement some of GenericDrawTarget's methods for raqotepylbrecht2019-08-211-11/+21
|
* Implement fill() for raqote::DrawTargetpylbrecht2019-08-211-6/+31
|
* Deal with fallout from mutable trait method change.Josh Matthews2019-08-211-60/+67
|
* WIP: Make GenericPathBuilder's methods take &mut selfpylbrecht2019-08-211-72/+72
|
* Implement provided raqote::PathBuilder's methods for GenericPathBuilderpylbrecht2019-08-211-7/+14
|
* Make GenericPathBuilder take &mut selfpylbrecht2019-08-211-0/+51
|
* Implement StrokeOptionspylbrecht2019-08-211-5/+43
|
* Implement DrawOptions.set_alpha()pylbrecht2019-08-211-2/+2
|
* Update euclid.Emilio Cobos Álvarez2019-07-231-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 warningsSimon Sapin2019-06-221-9/+9
|