11-July-2014

Currently I am looking into the concept of Cairo::Context on which the entities will be drawn.

Right now there is a single on_draw function that is called automatically when the Drawing widget is initialized.

I want this context to be created and a white background to be shown, it is proving difficult to draw something else from another function in that same context.

Basically I want to create different entities from different button callbacks. So I am looking to achieve that in either a same context or different context, though the latter is very unlikely scenario.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s