NSFrameRect
Draws a bordered rectangle.
Declaration
extern void NSFrameRect(NSRect rect);Parameters
- rect:
The bounding rectangle (in the current coordinate system) in which to draw.
Discussion
Draws a frame around the inside of aRect in the current color and using the NSCompositeCopy compositing operation. The width is equal to 1.0 in the current coordinate system. Since the frame is drawn inside the rectangle, it will be visible even if drawing is clipped to the rectangle.
Because this function does not draw directly on the line, but rather inside it, it uses the current fill color (not stroke color) when drawing.
For more information, see NSCompositingOperation.