mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Move LayerPixel to compositing.
This commit is contained in:
parent
7ef81c3d7d
commit
6a1f7a717d
2 changed files with 8 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue