mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2025-02-26 14:56:51 +00:00
parent
6d18233657
commit
5c92f8249a
@ -10,36 +10,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
#import <CoreFoundation/CFBase.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
struct CGPoint {
|
||||
CGFloat x;
|
||||
CGFloat y;
|
||||
};
|
||||
typedef struct CGPoint CGPoint;
|
||||
|
||||
struct CGSize {
|
||||
CGFloat width;
|
||||
CGFloat height;
|
||||
};
|
||||
typedef struct CGSize CGSize;
|
||||
|
||||
#define CGVECTOR_DEFINED 1
|
||||
|
||||
struct CGVector {
|
||||
CGFloat dx;
|
||||
CGFloat dy;
|
||||
};
|
||||
typedef struct CGVector CGVector;
|
||||
|
||||
struct CGRect {
|
||||
CGPoint origin;
|
||||
CGSize size;
|
||||
};
|
||||
typedef struct CGRect CGRect;
|
||||
|
||||
typedef CF_ENUM(uint32_t, CGRectEdge) {
|
||||
CGRectMinXEdge, CGRectMinYEdge, CGRectMaxXEdge, CGRectMaxYEdge
|
||||
};
|
||||
|
||||
COREGRAPHICS_EXPORT const CGRect CGRectZero;
|
||||
COREGRAPHICS_EXPORT const CGRect CGRectNull;
|
||||
COREGRAPHICS_EXPORT const CGPoint CGPointZero;
|
||||
|
Loading…
x
Reference in New Issue
Block a user