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

Help using ofCairoRenderer

$
0
0

@on4now4 wrote:

ignoring all the pre-written stuff I have added these few lines of code to my project:

ofApp.h:

 ofCairoRenderer flightAngle;

ofApp.cpp:
under the draw section:

ofFill();
flightAngle.setCircleResolution(50);
flightAngle.drawCircle(1024 / 2, 300,0, 150);
flightAngle.setFillMode(OF_OUTLINE);    //OF_FILLED is the other option
flightAngle.setLineWidth(3);
flightAngle.drawCircle(1024 / 2, 300,0, 150);
flightAngle.drawLine(1024/2-150,1024/2+150,300,300,0,0);

But every time I run it I get this error

Can anyone please explain what is going on? I feel like what I am trying to do should be really simple...

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles