Carbon


MatchRec

Header: Quickdraw.h

struct MatchRec {
    UInt16 red; 
    UInt16 green; 
    UInt16 blue; 
    SInt32 matchData;
};

Field descriptions

red

Red value of the seed.

green

Green value of the seed.

blue

Blue value of the seed.

matchData

The value passed in the matchData parameter of the SeedCFill or CalcCMask function.

When SeedCFill or CalcCMask calls your color search function, the GDRefCon field of the current GDevice structure contains a pointer to a MatchRec structure. This structure contains the RGB value of the seed pixel or seed color for which your color search function searches.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)