If you did not yet start implementing it, goocanvas might be another
option to the bare stuff. goocanvas allows you to set a fixed "paper"
size.


Am 7. März 2012 19:44 schrieb Christopher Howard
<christopher.how...@frigidcode.com>:
> On 03/06/2012 02:08 PM, Christopher Howard wrote:
>> Hello again. So, I recently started a project to create a certain board
>> game (in C) using gtk+, and I just started learning gtk+. I was planning
>> to draw the board graphics, pieces, etc. all into one GtkDrawingArea.
>> So, how do I fix the size of the drawing area so it doesn't get larger
>> or smaller than my graphics?
>>
>> The alternative, I suppose, would be to scale everything against the
>> actual size of the drawing area (cairo can resize bitmap images, no?)
>> but presumably that would be a lot more complicated to code, and I would
>> still need to constrain the proportions of width to height.
>>
>>
>>
>>
>> _______________________________________________
>> gtk-app-devel-list mailing list
>> gtk-app-devel-list@gnome.org
>> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
> Bump.
>
> I'm trying to look through some other projects to see how this is done,
> but I would appreciate it if anyone happens to know of the top of their
> head.
>
> --
> frigidcode.com
> indicium.us
>
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to