Path: utzoo!attcan!uunet!cs.utexas.edu!wuarchive!rex!uflorida!reef.cis.ufl.edu!jdb From: jdb@reef.cis.ufl.edu (Brian K. W. Hook) Newsgroups: comp.graphics Subject: Hexagonal bit maps Message-ID: <26275@uflorida.cis.ufl.EDU> Date: 12 Jan 91 09:36:33 GMT Sender: news@uflorida.cis.ufl.EDU Organization: UF CIS Dept. Lines: 22 I am writing an app that uses an hexagonal map...each hex in the map has its own bit map. I am running into the problem of how to use the Borland Graphics interface (actually, ANY graphics library with a getimage/putimage type function set) to write the hex bit map on the screen without writing into the area of the rectangular bit map outside of the hex....e.g. 0011111100 0111111110 1111111111 0111111110 0011111100 I don't want ANYTHING written into the region with zeros. This wouldn't be so hard if it was just black and white, but I am using 4-bit color. Does anyone know of an easy method of overlay this rectangular block on the screen but with only the hex part showing up? thanks for the help, Brian