mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use euclid from crates.io
This commit is contained in:
parent
7355bf1061
commit
8cbfb3482c
104 changed files with 272 additions and 306 deletions
|
@ -10,9 +10,6 @@ path = "lib.rs"
|
|||
[dependencies.azure]
|
||||
git = "https://github.com/servo/rust-azure"
|
||||
|
||||
[dependencies.geom]
|
||||
git = "https://github.com/servo/rust-geom"
|
||||
|
||||
[dependencies.layers]
|
||||
git = "https://github.com/servo/rust-layers"
|
||||
|
||||
|
@ -35,3 +32,4 @@ log = "*"
|
|||
cssparser = "0.3.1"
|
||||
num = "0.1.24"
|
||||
gleam = "0.1"
|
||||
euclid = "0.1"
|
||||
|
|
|
@ -7,10 +7,10 @@ use azure::azure_hl::{DrawTarget, SurfaceFormat, BackendType, StrokeOptions, Dra
|
|||
use azure::azure_hl::{ColorPattern, PathBuilder, DrawSurfaceOptions, Filter};
|
||||
use azure::azure_hl::{JoinStyle, CapStyle, CompositionOp, AntialiasMode};
|
||||
use canvas_traits::*;
|
||||
use geom::matrix2d::Matrix2D;
|
||||
use geom::point::Point2D;
|
||||
use geom::rect::Rect;
|
||||
use geom::size::Size2D;
|
||||
use euclid::matrix2d::Matrix2D;
|
||||
use euclid::point::Point2D;
|
||||
use euclid::rect::Rect;
|
||||
use euclid::size::Size2D;
|
||||
use layers::platform::surface::NativeSurface;
|
||||
use gfx_traits::color;
|
||||
use num::ToPrimitive;
|
||||
|
|
|
@ -9,7 +9,7 @@ extern crate core;
|
|||
extern crate canvas_traits;
|
||||
extern crate azure;
|
||||
extern crate cssparser;
|
||||
extern crate geom;
|
||||
extern crate euclid;
|
||||
extern crate gfx_traits;
|
||||
extern crate util;
|
||||
extern crate gleam;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use canvas_traits::{CanvasMsg, CanvasWebGLMsg, CanvasCommonMsg};
|
||||
use geom::size::Size2D;
|
||||
use euclid::size::Size2D;
|
||||
use core::nonzero::NonZero;
|
||||
use gleam::gl;
|
||||
use gleam::gl::types::{GLsizei};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue