mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
script: Move canvas stuff into dom/canvas folder (#39071)
Move all canvas stuff to canvas folder and 2d canvas to canvas/2d folder. Webgl and webgpu context remain in respective folders as outlined in https://github.com/servo/servo/issues/38901#issuecomment-3243020235 Testing: Just refactor. Part of https://github.com/servo/servo/issues/38901 --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
f4dd2960b8
commit
069ddbfd12
17 changed files with 138 additions and 124 deletions
13
components/script/dom/canvas/2d/mod.rs
Normal file
13
components/script/dom/canvas/2d/mod.rs
Normal file
|
@ -0,0 +1,13 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
mod canvas_state;
|
||||
pub(crate) mod canvasgradient;
|
||||
pub(crate) mod canvaspattern;
|
||||
#[allow(dead_code)]
|
||||
pub(crate) mod canvasrenderingcontext2d;
|
||||
pub(crate) mod offscreencanvasrenderingcontext2d;
|
||||
pub(crate) mod paintrenderingcontext2d;
|
||||
pub(crate) mod path2d;
|
||||
pub(crate) mod textmetrics;
|
Loading…
Add table
Add a link
Reference in a new issue