Method for describing primitive coordinate transformation matrix by use of mirror images and rotation parameters of primitive
A technology of coordinate transformation matrix and rotation parameters, which is applied in the field of drawing software, can solve problems such as mirroring parameters, rotation parameters errors, failure to reflect the sequence of mirroring operations and rotation operations, etc., and achieve the effect of convenient interoperability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] The method for describing the coordinate transformation matrix of the primitive with the mirror image and rotation parameters of the primitive includes the following steps: Step 1, adding variables in the primitive and initializing the primitive, such as figure 1 shown;
[0027] Set the bool variable m_mirrorX used to record the mirror flag of the primitive in the x direction and set it to false; set the bool variable m_mirrorY used to record the mirror flag of the primitive in the y direction and set it to false, and set it to record The integer variable m_direction of the rotation direction of the primitive is set to 0, and the values of the rotation direction of the primitive are 0, 1, 2, and 3 respectively representing the original position, clockwise rotation 90°, clockwise rotation 180°, clockwise rotation Rotate 270°; set the variable m_bClone used to record whether the primitive is in the cloned state and initialize it to false;
[0028] Step 2, use the mirro...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


