Align to graphics library API