* add Affine geometry transformation * Add some docs.
2. PrintGradient 3. validate boxes before drawing