private IEnumerator<ControlPointDrawingInfo> GetDrawingInfos()
{
if (Mode == ColorTransferMode.Luminosity)
yield return new ControlPointDrawingInfo () {
Color = new Color (0.4, 0.4, 0.4), IsActive = true
};
else {
yield return new ControlPointDrawingInfo () {
Color = new Color (0.9, 0, 0), IsActive = checkRed.Active
};
yield return new ControlPointDrawingInfo () {
Color = new Color (0, 0.9, 0), IsActive = checkGreen.Active
};
yield return new ControlPointDrawingInfo () {
Color = new Color(0, 0, 0.9), IsActive = checkBlue.Active
};
}
}