Add complete tint example.
(cherry picked from commit 8352bcd)