MCPcopy Create free account
hub / github.com/MagmaWM/MagmaWM / location

Method location

src/utils/render/mod.rs:92–99  ·  view source on GitHub ↗
(&self, scale: Scale<f64>)

Source from the content-addressed store, hash-verified

90 }
91
92 fn location(&self, scale: Scale<f64>) -> smithay::utils::Point<i32, Physical> {
93 match self {
94 CustomRenderElements::Texture(elem) => elem.location(scale),
95 CustomRenderElements::Surface(elem) => elem.location(scale),
96 CustomRenderElements::Shader(elem) => elem.location(scale),
97 CustomRenderElements::Window(elem) => elem.location(scale),
98 }
99 }
100
101 fn transform(&self) -> smithay::utils::Transform {
102 match self {

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected