Resolution-independent graphics library