2014/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 RgbColor16f::asBgrColor (DataModelAttributes::ChannelOrder fmt) const
{
    RgbColor color;
    const Channels* channels = (const Channels*) &packed;
    if (DataModelAttributes::kRedGreenBlueAlpha == fmt) {
        color = RgbColor(CVTC(channels->blue), CVTC(channels->green)
            , CVTC(channels->red), CVTC(channels->alpha));
    }
    else {
        color = RgbColor(CVTC(channels->blue), CVTC(channels->green)
            , CVTC(channels->red), CVTC(channels->alpha));
    }
    return color;
#undef CVTC
}
inline RgbColor RgbColor16f :: asBgrColor ( DataModelAttributes :: ChannelOrder fmt ) const { RgbColor color ; const Channels * channels = ( const Channels * ) & packed ; if ( DataModelAttributes :: kRedGreenBlueAlpha == fmt ) { color = RgbColor ( CVTC ( channels -> blue ) , CVTC ( channels -> green ) , CVTC ( channels -> red ) , CVTC ( channels -> alpha ) ) ; } else { color = RgbColor ( CVTC ( channels -> blue ) , CVTC ( channels -> green ) , CVTC ( channels -> red ) , CVTC ( channels -> alpha ) ) ; } return color ; #undef  CVTC
 }
<summary>
This inlined method is defined in RgbColor.h.
<summary > This inlined method is defined in RgbColor . h .