servo/components/canvas
bors-servo 721271dcd3
Auto merge of #26697 - utsavoza:ugo/issue-11681/22-05-2020, r=jdm
Implement CanvasRenderingContext2d.fillText

The PR consists of broadly two main changes:
- Implementation of Canvas2dRenderingContext.font
- Basic implementation of Canvas2dRenderingContext.fillText

Although I am not fully sure about the long term goals for the canvas backend in Servo, I assumed limited scope for font and text handling (should support simple text drawing with font selection) in the current implementation as I believe a more complete implementation would eventually be brought in as a part of #22957.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #11681
- [x] There are tests for these changes
2020-06-12 13:43:51 -04:00
..
webgl_mode Convert all uses of UpdateResources api to use webrender transactions. 2020-05-11 17:41:56 -04:00
canvas_data.rs Auto merge of #26697 - utsavoza:ugo/issue-11681/22-05-2020, r=jdm 2020-06-12 13:43:51 -04:00
canvas_paint_thread.rs Auto merge of #26697 - utsavoza:ugo/issue-11681/22-05-2020, r=jdm 2020-06-12 13:43:51 -04:00
Cargo.toml Enable textAlign, textBaseline and direction attributes for canvas 2020-06-10 22:34:20 +05:30
lib.rs Integrate swapchain surface provider changes into webgl and webxr implementations. 2020-03-09 17:50:54 -04:00
raqote_backend.rs Fix ./mach build --release --with-layout-2020 2020-06-10 22:34:24 +05:30
webgl_limits.rs Add support for WebGL2 MIN_PROGRAM_TEXEL_OFFSET 2020-04-30 10:11:11 +02:00
webgl_thread.rs Proxy all WR interactions for layout/font/script/canvas threads to the compositor 2020-06-09 13:05:16 -04:00