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 void RgbColor10::getChannelData (Data16& red, Data16& green
    , Data16& blue, Data16& alpha, DataModelAttributes::ChannelOrder fmt) const
{
    green = (Data16) ((packed >> 10) & 0x03FF);
    alpha = (Data16) ((packed >> 30) & 0x03);
    if (fmt == DataModelAttributes::kRedGreenBlueAlpha) {
        red = (Data16) (packed & 0x03FF);
        blue = (Data16) ((packed >> 20) & 0x03FF);
    }
    else {
        blue = (Data16) (packed & 0x03FF);
        red = (Data16) ((packed >> 20) & 0x03FF);
    }
}
inline void RgbColor10 :: getChannelData ( Data16 & red , Data16 & green , Data16 & blue , Data16 & alpha , DataModelAttributes :: ChannelOrder fmt ) const { green = ( Data16 ) ( ( packed >> 10 ) & 0x03FF ) ; alpha = ( Data16 ) ( ( packed >> 30 ) & 0x03 ) ; if ( fmt == DataModelAttributes :: kRedGreenBlueAlpha ) { red = ( Data16 ) ( packed & 0x03FF ) ; blue = ( Data16 ) ( ( packed >> 20 ) & 0x03FF ) ; } else { blue = ( Data16 ) ( packed & 0x03FF ) ; red = ( Data16 ) ( ( packed >> 20 ) & 0x03FF ) ; } }
<summary>
This inlined method is defined in RgbColor.h.
<summary > This inlined method is defined in RgbColor . h .