XPS MATRIX Rotation

kasmer 66 Reputation points
2021-07-09T18:38:30.3+00:00

What would I put to replace the m12, m21 in each case for each degree of rotation?

I have tried following; 9aSCv.png

but I don't think it is correct.

HELP PLEASE.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,652 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,761 questions
{count} votes

Accepted answer
  1. Xiaopo Yang - MSFT 12,726 Reputation points Microsoft Vendor
    2021-07-12T07:28:24.88+00:00

    Hello,
    According to XPS_MATRIX structure Which Describes the left two columns of a 3-by-3 matrix, With 113729-image.png, I Think The m12=-1, m21 = 1.
    You Could Search Rotation matrix For More Details.
    And Hope SetWorldTransform function is helpful.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.