Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Conversion from VisualC++ to Java(AngleArc to drawArc)

Zulfi KhanOct 4 2015 — edited Oct 6 2015

Hi,

I want to convert from VC to JAVA. I have AngleArc in VC ( 5 arguments) & drawArc in Java(6 arguments). Their syntax is given below:

drawArc(int xTopLeft, int yTopLeft, int width, int height, int startAngle, int arcAngle);

BOOL AngleArc(   int x,   int y,   int nRadius,   float fStartAngle,   float fSweepAngle);

Instead of width & height they are using only radius. Some body please guide me how to do this conversion.

Zulfi.

This post has been answered by Zulfi Khan on Oct 5 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2015
Added on Oct 4 2015
8 comments
1,402 views