|
| 1 | +// |
| 2 | +// OpenRenderBoxShims.h |
| 3 | +// OpenRenderBoxShims |
| 4 | + |
| 5 | +#pragma once |
| 6 | + |
| 7 | +#include <RenderBox/RBPath.h> |
| 8 | +#include <RenderBox/RBPathCallbacks.h> |
| 9 | +#include <RenderBox/RBPathStorage.h> |
| 10 | + |
| 11 | +typedef RBPath ORBPath; |
| 12 | +typedef RBPathElement ORBPathElement; |
| 13 | +typedef RBPathRoundedCornerStyle ORBPathRoundedCornerStyle; |
| 14 | +typedef RBPathApplyCallback ORBPathApplyCallback; |
| 15 | +typedef RBPathCallbacks ORBPathCallbacks; |
| 16 | +typedef RBPathCallbacksFlags ORBPathCallbacksFlags; |
| 17 | +typedef RBPathCallbacksExtended ORBPathCallbacksExtended; |
| 18 | +typedef RBPathStorageRef ORBPathStorageRef; |
| 19 | + |
| 20 | +#define ORBPathElementMoveToPoint RBPathElementMoveToPoint |
| 21 | +#define ORBPathElementAddLineToPoint RBPathElementAddLineToPoint |
| 22 | +#define ORBPathElementAddQuadCurveToPoint RBPathElementAddQuadCurveToPoint |
| 23 | +#define ORBPathElementAddCurveToPoint RBPathElementAddCurveToPoint |
| 24 | +#define ORBPathElementCloseSubpath RBPathElementCloseSubpath |
| 25 | +#define ORBPathElementRect RBPathElementRect |
| 26 | +#define ORBPathElementRoundedRect RBPathElementRoundedRect |
| 27 | +#define ORBPathElementFixedRoundedRectCircular RBPathElementFixedRoundedRectCircular |
| 28 | +#define ORBPathElementFixedRoundedRectContinuous RBPathElementFixedRoundedRectContinuous |
| 29 | +#define ORBPathElementInvalid RBPathElementInvalid |
| 30 | + |
| 31 | +#define ORBPathRoundedCornerStyleCircular RBPathRoundedCornerStyleCircular |
| 32 | +#define ORBPathRoundedCornerStyleContinuous RBPathRoundedCornerStyleContinuous |
| 33 | + |
| 34 | +#define ORBPathEmpty RBPathEmpty |
| 35 | +#define ORBPathNull RBPathNull |
| 36 | +#define ORBPathRetain RBPathRetain |
| 37 | +#define ORBPathRelease RBPathRelease |
| 38 | +#define ORBPathMakeWithCGPath RBPathMakeWithCGPath |
| 39 | +#define ORBPathMakeRect RBPathMakeRect |
| 40 | +#define ORBPathMakeEllipse RBPathMakeEllipse |
| 41 | +#define ORBPathMakeRoundedRect RBPathMakeRoundedRect |
| 42 | +#define ORBPathMakeUnevenRoundedRect RBPathMakeUnevenRoundedRect |
| 43 | +#define ORBPathIsEmpty RBPathIsEmpty |
| 44 | +#define ORBPathApplyElements RBPathApplyElements |
| 45 | +#define ORBPathEqualToPath RBPathEqualToPath |
| 46 | +#define ORBPathCopyCGPath RBPathCopyCGPath |
| 47 | +#define ORBPathContainsPoint RBPathContainsPoint |
| 48 | +#define ORBPathContainsPoints RBPathContainsPoints |
| 49 | + |
| 50 | +#define ORBPathCGPathCallbacks RBPathCGPathCallbacks |
| 51 | +#define ORBPathStorageInit RBPathStorageInit |
| 52 | +#define ORBPathStorageDestroy RBPathStorageDestroy |
| 53 | +#define ORBPathStorageClear RBPathStorageClear |
| 54 | +#define ORBPathStorageAppendElement RBPathStorageAppendElement |
| 55 | +#define ORBPathStorageAppendPath RBPathStorageAppendPath |
| 56 | +#define ORBPathStorageApplyElements RBPathStorageApplyElements |
| 57 | +#define ORBPathStorageIsEmpty RBPathStorageIsEmpty |
| 58 | +#define ORBPathStorageEqualToStorage RBPathStorageEqualToStorage |
| 59 | +#define ORBPathStorageIsSingleElement RBPathStorageIsSingleElement |
| 60 | +#define ORBPathStorageGetBezierOrder RBPathStorageGetBezierOrder |
| 61 | +#define ORBPathStorageGetBoundingRect RBPathStorageGetBoundingRect |
| 62 | +#define ORBPathStorageGetCGPath RBPathStorageGetCGPath |
0 commit comments