getwidth This function is used to get the width of current graphics device. int getwidth(); Parameters None Return Value The width of current graphics device. Examples None