Permalink
Browse files

Fixed documentation comments

  • Loading branch information...
1 parent 2b41571 commit 6eb257e7e74adda214e3a5cc308f20691a253502 @odrobnik odrobnik committed Jan 6, 2014
@@ -26,6 +26,7 @@
/**
Convenience method for creates a font descriptor from a Core Text font
+ @param ctFont The Core Text font
@returns An initialized font descriptor
*/
+ (DTCoreTextFontDescriptor *)fontDescriptorForCTFont:(CTFontRef)ctFont;
@@ -36,7 +36,7 @@
@param run The Core Text glyph run to wrap
@param layoutLine The layout line that this glyph run belongs to
@param offset The offset from the left line origin to place the glyph run at
- @retuns An initialized DTCoreTextGlyphRun
+ @returns An initialized DTCoreTextGlyphRun
*/
- (id)initWithRun:(CTRunRef)run layoutLine:(DTCoreTextLayoutLine *)layoutLine offset:(CGFloat)offset;
@@ -144,7 +144,6 @@ typedef NS_ENUM(NSUInteger, DTCoreTextLayoutFrameDrawingOptions)
@param context A graphics context to draw into
@param drawImages Whether images should be drawn together with the text. If you specify `NO` then space is left blank where images would go and you have to add your own views to display these images.
@param drawLinks Whether hyperlinks should be drawn together with the text. If you specify `NO` then space is left blank where links would go and you have to add your own views to display these images.
- @param drawImages Whether hyperlinks should be drawn together with the text. If you specify `NO` then space is left blank where links would go and you have to add your own views to display these links.
*/
- (void)drawInContext:(CGContextRef)context drawImages:(BOOL)drawImages drawLinks:(BOOL)drawLinks __attribute__((deprecated("use -[DTCoreTextLayoutFrame drawInContext:options:] instead")));
@@ -176,7 +176,7 @@ + (Class)registeredClassForTagName:(NSString *)tagName
#pragma mark Properties
/** Mutator for originalSize. Sets displaySize to the same value as originalSize.
- @param The CGSize to store in originalSize. */
+ @param originalSize The CGSize to store in originalSize. */
- (void)setOriginalSize:(CGSize)originalSize
{
if (!CGSizeEqualToSize(originalSize, _originalSize))

0 comments on commit 6eb257e

Please sign in to comment.