home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextLibrary / Frameworks / AppKit.framework / Versions / B / Headers / NSStringDrawing.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-17  |  654 b   |  31 lines

  1. /*
  2.         NSStringDrawing.h
  3.         Copyright (c) 1994-1996 NeXT Software, Inc.  All rights reserved.
  4.  
  5.         Methods to deal with NSString drawing, measuring
  6.    
  7. */
  8.  
  9. #ifndef STRICT_OPENSTEP
  10.  
  11. #import <Foundation/Foundation.h>
  12. #import <AppKit/NSAttributedString.h>
  13.  
  14. @interface NSString(NSStringDrawing)
  15.  
  16. - (NSSize)sizeWithAttributes:(NSDictionary *)attrs;
  17. - (void)drawAtPoint:(NSPoint)point withAttributes:(NSDictionary *)attrs;
  18. - (void)drawInRect:(NSRect)rect withAttributes:(NSDictionary *)attrs;
  19.  
  20. @end
  21.  
  22. @interface NSAttributedString(NSStringDrawing)
  23.  
  24. - (NSSize)size;
  25. - (void)drawAtPoint:(NSPoint)point;
  26. - (void)drawInRect:(NSRect)rect;
  27.  
  28. @end
  29.  
  30. #endif
  31.