OpenLink Software

Usage stats on USERAPI GetUIParentAnchor

 Permalink

an Entity in Data Space: 134.155.108.49:8890

Returns SetPoint args for the frame, anchor is relative to the nearest corner of the screen. local function GetUIParentAnchor(frame) local w, h, x, y = UIParent:GetWidth(), UIParent:GetHeight(), frame:GetCenter() local hhalf, vhalf = (x > w/2) and "RIGHT" or "LEFT", (y > h/2) and "TOP" or "BOTTOM" local dx = hhalf == "RIGHT" and math.floor(frame:GetRight() + 0.5) - w or math.floor(frame:GetLeft() + 0.5) local dy = vhalf == "TOP" and math.floor(frame:GetTop() + 0.5) - h or math.floor(frame:GetBottom() + 0.5) return vhalf..hhalf, dx, dy end

Graph IRICount
http://dbkwik.webdatacommons.org4
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] This material is Open Knowledge Creative Commons License Valid XHTML + RDFa
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Copyright © 2009-2012 OpenLink Software