# MCColorRGB.h File Reference

## Classes
class | TMCColorRGB
class | TMCColorSignedRGB8
class | TMCColorRGBE8
## Defines
#define | macroRGBOp1(c1, op1, c2)
#define | macroRGBOp1Scalar(c1, op1, scalar)
#define | macroRGBOp2(c1, op1, c2, op2, c3)
#define | macroRGBOp2Scalar(c1, op1, c2, op2, scalar)
#define | macroRGBAOp1(c1, op1, c2)
#define | macroRGBAOp1Scalar(c1, op1, scalar)
#define | macroRGBAOp2(c1, op1, c2, op2, c3)
#define | macroRGBAOp2Scalar(c1, op1, c2, op2, scalar)

## Define Documentation

#define macroRGBAOp1 | ( | c1,
|  | op1,
|  | c2 |  | ) |

Value:

    {                                                                       \
                            (c1).red        op1 (c2).red;           \
                            (c1).green      op1 (c2).green;         \
                            (c1).blue       op1 (c2).blue;          \
                            (c1).alpha      op1 (c2).alpha;         \
                    }

#define macroRGBAOp1Scalar | ( | c1,
|  | op1,
|  | scalar |  | ) |

Value:

    {                                                                       \
                            (c1).red        op1 (scalar);           \
                            (c1).green      op1 (scalar);           \
                            (c1).blue       op1 (scalar);           \
                            (c1).alpha      op1 (scalar);           \
                    }

#define macroRGBAOp2 | ( | c1,
|  | op1,
|  | c2,
|  | op2,
|  | c3 |  | ) |

Value:

    {                                                                                               \
                            (c1).red        op1 (c2).red    op2 (c3).red;   \
                            (c1).green      op1 (c2).green  op2 (c3).green; \
                            (c1).blue       op1 (c2).blue   op2 (c3).blue;  \
                            (c1).alpha      op1 (c2).alpha  op2 (c3).alpha; \
                    }

#define macroRGBAOp2Scalar | ( | c1,
|  | op1,
|  | c2,
|  | op2,
|  | scalar |  | ) |

Value:

    {                                                                                       \
                            (c1).red        op1 (c2).red    op2 scalar;     \
                            (c1).green      op1 (c2).green  op2 scalar;     \
                            (c1).blue       op1 (c2).blue   op2 scalar;     \
                            (c1).alpha      op1 (c2).alpha  op2 scalar;     \
                    }

#define macroRGBOp1 | ( | c1,
|  | op1,
|  | c2 |  | ) |

Value:

    {                                                                       \
                            (c1).red        op1 (c2).red;           \
                            (c1).green      op1 (c2).green;         \
                            (c1).blue       op1 (c2).blue;          \
                    }

#define macroRGBOp1Scalar | ( | c1,
|  | op1,
|  | scalar |  | ) |

Value:

    {                                                                       \
                            (c1).red        op1 (scalar);           \
                            (c1).green      op1 (scalar);           \
                            (c1).blue       op1 (scalar);           \
                    }

#define macroRGBOp2 | ( | c1,
|  | op1,
|  | c2,
|  | op2,
|  | c3 |  | ) |

Value:

    {                                                                                               \
                            (c1).red        op1 (c2).red    op2 (c3).red;   \
                            (c1).green      op1 (c2).green  op2 (c3).green; \
                            (c1).blue       op1 (c2).blue   op2 (c3).blue;  \
                    }

#define macroRGBOp2Scalar | ( | c1,
|  | op1,
|  | c2,
|  | op2,
|  | scalar |  | ) |

Value:

    {                                                                                               \
                            (c1).red        op1 (c2).red    op2 (scalar);   \
                            (c1).green      op1 (c2).green  op2 (scalar);   \
                            (c1).blue       op1 (c2).blue   op2 (scalar);   \
                    }