MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ConvertNSRect

Function ConvertNSRect

Source/Engine/Platform/Mac/MacWindow.cpp:320–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320static void ConvertNSRect(NSScreen *screen, NSRect *r)
321{
322 r->origin.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - r->origin.y - r->size.height;
323}
324
325- (void)windowDidResize:(NSNotification*)notification
326{

Callers 1

GetKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected