Type Alias webrender::composite::CompositorSurfaceTransform
source · pub type CompositorSurfaceTransform = ScaleOffset;
Expand description
The transform type to apply to Compositor surfaces.
Aliased Type§
struct CompositorSurfaceTransform {
pub scale: Vector2D<f32, UnknownUnit>,
pub offset: Vector2D<f32, UnknownUnit>,
}
Fields§
§scale: Vector2D<f32, UnknownUnit>
§offset: Vector2D<f32, UnknownUnit>