Home > Software engineering >  VB draw arbitrary Angle words and filled at any Angle rectangular box
VB draw arbitrary Angle words and filled at any Angle rectangular box

Time:09-16

Asked the rectangle is one of the Angle of center of arbitrary Angle,
The center of the circle can specify coordinates!
The rotation rectangle have text, text and rectangular center,
Please give the detailed code?

CodePudding user response:

Rectangular four points is known, to determine a point, at that point to the new origin of coordinates, the other three point conversion coordinate system, then do the other three points around the new coordinate system origin Angle, to obtain the coordinates of three points in the new coordinate system, and then reverse transformation for the original coordinate system coordinates, the four points
  • Related