Device

The Device concept is the drawing surface.

In EasyX, the device is divided into two types, one is the default graphics window and the other is the IMAGE object. The SetWorkingImage function allows you to set the device that is currently used for drawing.

After you set up the device that is currently used for drawing, all drawing functions are drawn on that device.