aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/canvas_data.rs
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix ./mach build --release --with-layout-2020Utsav Oza2020-06-101-20/+107
| |
| * Enable textAlign, textBaseline and direction attributes for canvasUtsav Oza2020-06-101-27/+126
| |
| * Implement CanvasRenderingContext2D.font propertyUtsav Oza2020-06-101-0/+6
| |
| * Revert unnecessary changesUtsav Oza2020-06-101-34/+34
| |
| * Basic implementation of canvas.fillTextUtsav Oza2020-06-101-4/+32
| |
| * Check for valid arguments before processing canvas.fillTextUtsav Oza2020-06-101-35/+35
| |
* | canvas: Don't panic if webrender isn't reachable.Josh Matthews2020-06-101-1/+4
|/
* Proxy all WR interactions for layout/font/script/canvas threads to the ↵Josh Matthews2020-06-091-20/+15
| | | | | | | compositor thread. There is now a single RenderApi that is used, and all transactions are serialized through the compositor.
* update rust toolchainKunal Mohan2020-05-211-1/+1
|
* Convert all uses of UpdateResources api to use webrender transactions.Josh Matthews2020-05-111-2/+5
|
* Update euclidManish Goregaokar2020-04-071-17/+1
|
* Revert "Add a simple implementation of CanvasRenderingContext2d.fillText"Paul Rouget2020-03-241-22/+4
| | | | Windows crash: https://github.com/servo/servo/issues/26015
* Add a simple implementation of CanvasRenderingContext2d.fillTextkaiakz2020-03-191-4/+22
|
* Auto merge of #25863 - servo:synup, r=jdmbors-servo2020-03-051-2/+1
|\ | | | | | | Remove syn 0.15 from our crate graph
| * Remove syn 0.15 from our crate graph (fixes #24421)Anthony Ramine2020-03-051-2/+1
| | | | | | | | | | | | | | | | | | | | This required bumps of: * gleam * image * rust-webvr * webrender * webxr
* | Make fill_rect() draw patterns correctlypylbrecht2020-03-031-7/+36
|/
* Remove azure canvas backendDaniel Alley2020-02-251-44/+4
| | | | closes #25833
* Implement CanvasRenderingContext2D.getTransform()pylbrecht2020-02-121-0/+4
|
* Create new subpath with origin after drawing rectpylbrecht2020-01-191-6/+11
| | | | | Step 4 has been missing. https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-rect
* Add first control point if there's no subpathpylbrecht2020-01-161-2/+5
|
* Ensure subpath for control point in quadratic_curve_to()pylbrecht2020-01-071-0/+3
|
* Ensure there's a subpath for the first control pointpylbrecht2020-01-061-1/+4
|
* Add a layer to store Pattern related informationpylbrecht2019-12-171-9/+1
| | | | | | | | Some information of `canvas_data::Pattern` was lost by converting it to `raqote::Source` due to the fact that Raqote did not store this information (e.g. linear gradient's start/end points). We introduce another layer to keep this information for later use (like in `is_zero_size_gradient()`).
* Implement "repeat-x" and "repeat-y" for imagespylbrecht2019-12-171-1/+9
|
* Handle empty paths in PathBuilder::get_current_point()pylbrecht2019-12-171-3/+5
| | | | | The case of calling get_current_point() on empty paths has not been handled and caused panics.
* Addresses issues raised in #24465; removes redundancy in set_bitmap_dimensionsBailey Blankenship2019-11-101-7/+39
| | | | Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code
* Implement create_gradient_stops()pylbrecht2019-08-291-2/+2
|
* Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15)Simon Sapin2019-08-231-1/+1
|
* Implement a few functions to make tests in draw-image and draw-path passBastien Orivel2019-08-211-3/+3
|
* WIP: Fix azure backendBastien Orivel2019-08-211-1/+1
|
* Imlplement get_composition_opBastien Orivel2019-08-211-1/+1
|
* Set the line cap to butt when drawing a rect with a 0 width/heightBastien Orivel2019-08-211-1/+3
| | | | | Otherwise raqote will draw the cap even though it shouldn't because the spec says so
* Implement clear_rectBastien Orivel2019-08-211-2/+2
|
* Implement need_to_draw_shadowBastien Orivel2019-08-211-1/+1
|
* Implement fill() for raqote::DrawTargetpylbrecht2019-08-211-4/+4
|
* Deal with fallout from mutable trait method change.Josh Matthews2019-08-211-16/+18
|
* WIP: Make GenericPathBuilder's methods take &mut selfpylbrecht2019-08-211-10/+16
|
* Make GenericPathBuilder take &mut selfpylbrecht2019-08-211-35/+43
|
* Implement StrokeOptionspylbrecht2019-08-211-1/+1
|
* Implement DrawOptions.set_alpha()pylbrecht2019-08-211-1/+1
|
* Update euclid.Emilio Cobos Álvarez2019-07-231-18/+17
| | | | | | | | 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.
* WebRender units are no longer reexported.Patrick Walton2019-07-091-1/+1
|
* Rename {azure,raqote}_backend feature flags to canvas2d-{azure,raqote}Simon Sapin2019-07-011-26/+26
|
* Fix some new warningsSimon Sapin2019-06-221-19/+19
|
* Auto merge of #23499 - est31:unused_code_removal_3, r=jdmbors-servo2019-06-041-20/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused code (3/N) <!-- Please describe your changes on the following line: --> Third PR in a series of PRs to remove unused/dead code from servo, powered by an (upcoming) tool of mine. Please take a look and tell me if you want to keep something. * First PR: #23477 * Second PR: #23498 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they only remove dead code <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23499) <!-- Reviewable:end -->
| * Remove unused code from a bunch of cratesest312019-06-031-20/+0
| |
* | Make Azure backend build again.Josh Matthews2019-06-031-24/+25
| |
* | Fix formatting.Josh Matthews2019-06-031-46/+36
| |
* | Add cargo feature to control canvas backend.Josh Matthews2019-06-031-799/+168
| |
* | Make CanvasData use GenericDrawTargetpylbrecht2019-05-311-167/+218
| |