Inheritance and graphics