aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/canvas_data.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Make CanvasPaintState genericpylbrecht2019-05-311-24/+55
| |
* | Implement GenericPathBuilder for azure_hl::PathBuilderpylbrecht2019-05-311-1/+105
| |
* | Implement GenericDrawTarget for azure_hl::DrawTargetpylbrecht2019-05-311-11/+197
| |
* | Add GenericDrawTarget traitpylbrecht2019-05-311-76/+308
|/
* Changes for sender recieverMaharsh2019-05-091-3/+3
|
* Format canvas code.Josh Matthews2019-02-071-75/+97
|
* Keep is_point_in_path using a path, rather than a path builder.Josh Matthews2019-02-071-11/+6
|
* Always store a transform in PathBuilderRef.Josh Matthews2019-02-061-68/+28
|
* canvas: Refactor implicit path/path builder state machine into a single enum.Josh Matthews2019-02-061-183/+294
|
* Transform paths between user and device space when there is a 2D canvas ↵Josh Matthews2019-02-061-48/+220
| | | | transformation present.
* Ensure canvas path stroking and filling use the same paths.Josh Matthews2019-02-061-11/+31
|
* Update webrenderManish Goregaokar2018-11-271-2/+3
|
* Make HTMLCanvasElement::fetch_all_data return a shared memory blobAnthony Ramine2018-11-211-11/+6
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Prefix some pixels functions with rgba8_Anthony Ramine2018-11-161-3/+3
|
* Remove useless `use crate_name;` imports.Simon Sapin2018-11-081-2/+0
| | | | A `crate_name::foo` path always works in 2018
* Reorder importsPyfisch2018-11-061-3/+5
|
* Format remaining filesPyfisch2018-11-061-157/+272
|
* Use pixels::get_rect in CanvasData::draw_imageBastien Orivel2018-10-121-37/+5
| | | | | Those functions are the same except that get_rect isn't failible, so we have to check that the rect we want is actually in the image.
* Return input as is when there is no cropping to be doneAnthony Ramine2018-10-091-0/+3
|
* Remove some condition in CanvasData::write_imageAnthony Ramine2018-10-091-15/+15
| | | | The surface creation should never fail.
* Abstract some stuff common to ctx.getImageData and ctx.putImageDataAnthony Ramine2018-10-081-17/+10
|
* Handle some transparent black cases in ctx.getImageDataAnthony Ramine2018-10-071-16/+1
|
* Align ctx.createImageData and ctx.getImageData with the specAnthony Ramine2018-10-061-13/+3
|
* Always make sure we get a surface in CanvasData::put_image_dataAnthony Ramine2018-10-061-11/+11
|