CPP : Add gradient drawing to base object