Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Arc without drawing radius lines

$
0
0

@Anas_Ghrab wrote:

Hi,

I would like the arc to be drawn without seeing the radius lines :

path.moveTo(180,294);
path.lineTo(180,130);
path.lineTo(321,130);
path.moveTo(321,294);
path.arc(321,294,141,164,180,-90);
path.close();
path.setStrokeColor(ofColor::blue);
path.setFillColor(ofColor::red);
path.setFilled(false);
path.setStrokeWidth(2);

Thanks.

Posts: 7

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4929