Rebol Programming/screen-offset?
Jump to navigation
Jump to search
USAGE:[edit | edit source]
SCREEN-OFFSET? face
DESCRIPTION:[edit | edit source]
Returns the absolute screen offset for any face.
SCREEN-OFFSET? is a function value.
ARGUMENTS[edit | edit source]
- face -- (Type: object)
SOURCE CODE[edit | edit source]
screen-offset?: func [ "Returns the absolute screen offset for any face." face [object!] /local xy ][ xy: face/offset while [face: face/parent-face] [ xy: xy + face/offset if face/edge [xy: xy + face/edge/size] ] xy ]