2015/utils/Atil/Inc/RgbColor.inl
/// <summary>
/// This inlined method is defined in RgbColor.h. <see cref="RgbColor">
/// </summary>
///


This inlined method is defined in RgbColor.h.
This inlined method is defined in RgbColor . h .
inline RgbColor RgbColor32i::asBgrColor (DataModelAttributes::ChannelOrder fmt) const
{
    RgbColor color;
    if (fmt == DataModelAttributes::kRedGreenBlueAlpha) {
        color = RgbColor(CVTC(pixel.value.ui.c), CVTC(pixel.value.ui.b)
            , CVTC(pixel.value.ui.a), CVTC(pixel.value.ui.d));
    }
    else {
        color = RgbColor(CVTC(pixel.value.ui.a), CVTC(pixel.value.ui.b)
            , CVTC(pixel.value.ui.c), CVTC(pixel.value.ui.d));
    }
    return color;
#undef CVTC
}
inline RgbColor RgbColor32i :: asBgrColor ( DataModelAttributes :: ChannelOrder fmt ) const { RgbColor color ; if ( fmt == DataModelAttributes :: kRedGreenBlueAlpha ) { color = RgbColor ( CVTC ( pixel . value . ui . c ) , CVTC ( pixel . value . ui . b ) , CVTC ( pixel . value . ui . a ) , CVTC ( pixel . value . ui . d ) ) ; } else { color = RgbColor ( CVTC ( pixel . value . ui . a ) , CVTC ( pixel . value . ui . b ) , CVTC ( pixel . value . ui . c ) , CVTC ( pixel . value . ui . d ) ) ; } return color ; #undef  CVTC
 }
<summary>
This inlined method is defined in RgbColor.h.
<summary > This inlined method is defined in RgbColor . h .