home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!warwick
- From: warwick@cs.uq.oz.au (Warwick Allison)
- Newsgroups: comp.sys.atari.st.tech
- Subject: Re: CPX v1.00 Bug?
- Message-ID: <11055@uqcspe.cs.uq.oz.au>
- Date: 16 Nov 92 01:25:20 GMT
- References: <BxLLvF.4C1@brunel.ac.uk>
- Sender: news@cs.uq.oz.au
- Reply-To: warwick@cs.uq.oz.au
- Lines: 76
-
- cs90ijr@brunel.ac.uk (Ian J Ray) writes:
-
- >Now, *sometimes* XControl misses a _single_ pixel line along the left edge
- >of the redraw area.
-
- >i.e.
- > +---------------+
- > +--------| | |
- > |===Contr| / \ |
- > | | |
- > | | Atari.... |
- > | | |
- > +--------| |
- > | [ OK ] |
- > +---------------+
-
- > +--------|----------+
- > |===Contr|l Panel===|
- > | | |
- > | | |
- > | | |
- > +--------|----------+
-
- > ^single pixel line left.
-
- >This problem seems to depend on the 'alignment' of the XControl window
- >on the desktop. Has anyone else had this problem? What is the latest
- >version of XControl?
-
- This happens with almost every acc in existence. The problem is that the fill patterns
- are not aligned to the object being drawn. For example, using the 50% fill pattern will
- give you either:
-
- ###################
- # # # # # # # # # #
- ## # # # # # # # ##
- # # # # # # # # # #
- ## # # # # # # # ##
- # # # # # # # # # #
- ## # # # # # # # ##
- # # # # # # # # # #
- ## # # # # # # # ##
- ###################
-
- or
-
- ###################
- ## # # # # # # # ##
- # # # # # # # # # #
- ## # # # # # # # ##
- # # # # # # # # # #
- ## # # # # # # # ##
- # # # # # # # # # #
- ## # # # # # # # ##
- # # # # # # # # # #
- ###################
-
- depending on where you draw the screen. The trouble then occurs when the GEM window move
- code ***raster copies*** your window, rather than redrawing it. If it redrew the object,
- all work work (although MUCH slower).
-
- The only solution I know is to align you windows according to what pattern appears in
- them (eg. allign on odd (or even) pixels for the 2x2 fills, and 4-pixel boundaries for
- the 4x4 fills... and so on).
-
- ... or don't use the VDI fill routines.
-
- IMO, it isn't a problem. It just looks a bit ugly on those RARE occasions when it occurs.
-
- --
- Warwick
- --
- _-_|\ warwick@cs.uq.oz.au /Disclaimer:
- / * <-- Computer Science Department, /
- \_.-._/ University of Queensland, / C references are NULL && void*
- v Brisbane, Australia. /
-