Flutter Engine
The Flutter Engine
Namespaces | Functions
coordinate_conversion.mm File Reference
#import "coordinate_conversion.h"
#import <Cocoa/Cocoa.h>
#include "gfx/geometry/point.h"
#include "gfx/geometry/rect.h"

Go to the source code of this file.

Namespaces

namespace  gfx
 

Functions

GFX_EXPORT NSRect gfx::ScreenRectToNSRect (const Rect &rect)
 
GFX_EXPORT Rect gfx::ScreenRectFromNSRect (const NSRect &point)
 
GFX_EXPORT NSPoint gfx::ScreenPointToNSPoint (const Point &point)
 
GFX_EXPORT Point gfx::ScreenPointFromNSPoint (const NSPoint &point)