Contents

NSRectFillListUsingOperation

Fills the rectangles in a list using the current fill color and specified compositing operation.

Declaration

extern void NSRectFillListUsingOperation(const NSRect *rects, NSInteger count, NSCompositingOperation op);

Parameters

  • rects:

    A pointer to an array of Nsrect structures representing the rectangles to fill.

  • count:

    The number of rectangles in the rects parameter.

  • op:

    The compositing operation to use when filling the rectangles.

Discussion

Fills a list of count rectangles with the current fill color, using the compositing operation op. For example, specifying NSCompositeSourceOver will blend with what’s already been drawn.

For more information, see NSCompositingOperation.

See Also

Drawing Rectangles