Added the MPExpressionTree Classes
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
#import "MPExpression.h"
|
||||
#import "MPFunctionLayout.h"
|
||||
|
||||
#define kMPEmptyBoxWidth (self.usesSmallSize ? 2.0 : 3.0)
|
||||
#define kMPEmptyBoxHeight (CTFontGetDescent((CTFontRef)self.font) + CTFontGetAscent((CTFontRef)self.font) + CTFontGetLeading((CTFontRef)self.font))
|
||||
#define kMPEmptyBoxYOrigin (-(CTFontGetDescent((CTFontRef)self.font) + CTFontGetLeading((CTFontRef)self.font)))
|
||||
|
||||
@interface MPExpressionLayout : MPLayout
|
||||
|
||||
- (instancetype)initWithExpression:(MPExpression *)expression
|
||||
|
||||
Reference in New Issue
Block a user