MCPcopy Create free account
hub / github.com/Recordscript/recordscript / origin

Method origin

libs/scrap/src/common/x11.rs:118–121  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

116 }
117
118 pub fn origin(&self) -> (i32, i32) {
119 let r = self.0.rect();
120 (r.x as _, r.y as _)
121 }
122
123 pub fn is_online(&self) -> bool {
124 true

Callers

nothing calls this directly

Calls 1

rectMethod · 0.80

Tested by

no test coverage detected