CodePudding user response:
Recommend a blog have you want to accomplish draw ellipse:Delphi under the GDI + programming [9] draw ellipse - DrawEllipse
Need to reference unit reference
Delphi under the GDI + programming [1] the preparation
CodePudding user response:
CodePudding user response:
Upstairs, can only show, can't do precise drawing,Draw the ellipse need three values, it is suggested that the mouse to determine the center position, again by inputting a, b value,
Or by mouse take the ellipse's four points: points around the X axis, Y axis point up and down, again by DrawEllipse (p, X, Y, w, h); Draw the ellipse,
CodePudding user response: