Use euclid from crates.io

This commit is contained in:
ecoal95 2015-06-18 20:51:34 +01:00
parent 7355bf1061
commit 8cbfb3482c
104 changed files with 272 additions and 306 deletions

View file

@ -2,11 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use geom::length::Length;
use geom::point::Point2D;
use geom::rect::Rect;
use geom::size::Size2D;
use geom::num::Zero;
use euclid::length::Length;
use euclid::point::Point2D;
use euclid::rect::Rect;
use euclid::size::Size2D;
use euclid::num::Zero;
use std::default::Default;
use std::i32;
@ -15,7 +15,7 @@ use std::ops::{Add, Sub, Neg, Mul, Div, Rem};
use rustc_serialize::{Encoder, Encodable};
// Units for use with geom::length and geom::scale_factor.
// Units for use with euclid::length and euclid::scale_factor.
/// A normalized "pixel" at the default resolution for the display.
///