Introduction
Taiwan screen action is controlled to achieve the conventional operation, but because of inherent platform screen causes some problems, such as: high cost, easily damaged, and difficulties in maintenance. So the computer screen has become a virtual platform suitable alternatives. In the simulation field, and Taiwan have become virtual computer screen better way. The computer screen virtual platform software development, because of the particularity of Taiwan screen, so there are some appropriate software for the difficulties, such as Taiwan screen image zoom, roam, and rotation.
C + + Builder is based on Windows for Visual C language development of one of the best technology platform. Using C + + Builder provides the basic components, combined with Windows SDK (Software Development Kit) of the performance function, by using the Windows Graphics Device Interface (GDI), standard application window T form and the properties and methods, the preparation of a virtual platform screen software . Software for the console screen some of the features, to provide an effective solution.
Taiwan-screen display of the pointer rotation and transparent
Soft platform screen pointer table is the station screen to achieve the most commonly encountered problems, often the software is to simplify the pointer appearance, that is, draw a line to represent the pointer. Taiwan screen pointer in the actual table can not be simplified, the software needed to achieve the establishment of a pointer image rotation.
Windows Graphics Device Interface (GDI) in the graphic rendering is independent of the graphics device. Between its hardware and software provides an abstraction layer. In order to draw graphics to the graphics device coordinate coordinates transformation, GDI designed a data structure XFORM. Structured as follows: typedef struct _XFORM (
FLOAT eM11; level of zoom factor, rotation angle of the cosine
FLOAT eM12; level scale factor, rotation angle of the sine
FLOAT eM21; vertical scaling factor, rotation angle of the sine negative
FLOAT eM22; vertical scaling factor, rotation angle of the cosine
FLOAT eDx; standard deviation change
FLOAT eDy; vertical conversion error
) XFORM;