Archived
1

Added Lots of Documentation

Added some nice to haves
Improved and Unified General Code Layout
This commit is contained in:
Kim Wittenburg
2015-01-04 02:54:27 +01:00
parent 152b981e24
commit 7438fd1f95
83 changed files with 2282 additions and 416 deletions

View File

@@ -9,14 +9,46 @@
#import "MPFunctionLayout.h"
/*!
@header
This file contains the <code>MPPowerFunctionLayout</code> class.
*/
@class MPPowerFunctionLayout, MPPowerFunction;
/*!
@class MPPowerFunctionLayout
@abstract A power function layout displays a <code>@link
//apple_ref/occ/cl/MPPowerFunction@/link</code>.
@discussion A power function layout draws its child at the top right of the
base. Because of this the power function layout has a special
property that gets set during the drawing of an expression:
<code>@link
//apple_ref/occ/instp/MPPowerFunctionLayout/baseBounds@/link</code>.
*/
@interface MPPowerFunctionLayout : MPFunctionLayout
/*!
@property baseBounds
@abstract The bounds of the expression that is the base of the receiving
power function layout.
@discussion This value should be considered very volatile. It may change even
if the power function itself didn't. This value is guaranteed to
stay the same only during a single cycle of drawing.
*/
@property (nonatomic) NSRect baseBounds;
/*!
@method powerFunction
@abstract Returns the <code>@link
//apple_ref/occ/cl/MPPowerFunction@/link</code> represented by
the receiver.
*/
- (MPPowerFunction *)powerFunction;
@end