Input and output device drawing