Move LayerPixel to compositing.

This commit is contained in:
Ms2ger 2017-01-04 12:19:06 +01:00
parent 7ef81c3d7d
commit 6a1f7a717d
2 changed files with 8 additions and 8 deletions

View file

@ -44,13 +44,6 @@ const SPECIAL_STACKING_CONTEXT_ID_MASK: usize = 0xffff;
#[derive(Copy, Clone, RustcEncodable, Debug)]
pub enum DevicePixel {}
/// One pixel in layer coordinate space.
///
/// This unit corresponds to a "pixel" in layer coordinate space, which after scaling and
/// transformation becomes a device pixel.
#[derive(Copy, Clone, RustcEncodable, Debug)]
pub enum LayerPixel {}
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum LayerKind {
NoTransform,