Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2001:
[Freeciv-Dev] Scaling tiles in gtk
Home

[Freeciv-Dev] Scaling tiles in gtk

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Scaling tiles in gtk
From: "Baumans" <baumans@xxxxxxxxxxxxx>
Date: Tue, 12 Jun 2001 16:15:17 -0400

I've been working on being able to scale the size of the tiles in the gtk
client(though only when launching a client, and not during the game, because
that would make this much harder). The problem I'm having right now is that
you can rescale or do very much to GdkPixmaps.  The only way you might be
able to do anything is a hack like we use to crop them to a certain area,
but I've heard problems with stuff like that.  I also thought about scaling
the imlib image(which is pretty easy) at the beginning, while we're loading
the file, but borders between the images might be nonexistent and we might
have problems when we would be clipping it.  I vote for putting the imlib
image in the Sprite, and rerendering the pix and bitmaps whenever we do
stuff to it. Any other ideas?



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Scaling tiles in gtk, Baumans <=