re drawing colour pixmaps not rectangular in article mar etrog se citri edu au jck catt citri edu au justin kibell writes i am writing a program which needs to draw colour xpm pixmap files onto a background without having the borders show up i cannot do xor as the colours all stuff up i cannot use xcopyplane as that is for single planes only i want to be able to specify a colour in the pixmap to be used as the opaque colour is this possible games such as xjewel have the same problem how does the mouse pointer do it any help would be helpful you wanna do masking build a bitmap pixmap of depth one where all pixels you name opaque are that get copied and the others are use this bitmap as the clip mask in the gc used for xcopyarea and remember to adjust the clip origin coordinates to the xcopyarea blit origin the mouse pointer besides from that it is driven using ramdac analog mapping on most hardwares uses a mask too but be warned blitting through a mask and especially moving around this mask is annoying slow on most xservers it flickers even at mips o o o brain inside o o o o andre beck abpsoft mehl andre beck irs inf tu dresden de o o o
