jdp@polstra.UUCP (John Polstra) (05/26/90)
Has anybody else noticed that Athena Command widgets with the "roundedRectangle" shape style look awful? Try this, for instance: xman -xrm 'xman*topBox*shapeStyle:roundedRectangle' The NW corner of each button looks about right (nice and round), but the SE corner is almost square. The other two corners are in-between, and both are pretty ratty looking. Oval and elliptical buttons look fine, as do (of course) rectangular ones. I am running X11R4 + fixes 1-9 on a Sun 3/180 under SunOs 4.0.1. The only unusual thing I did in my config file was to specify that the Sun floating point accelerator be used: #define DefaultCCOptions -ffpa -pipe Since arcs are involved in drawing rounded buttons, and arcs use floating point, I realize that the problem could be related to the use of the FPA. I'd appreciate hearing from other people as to whether they have seen this problem on their own configurations. -- - John Polstra jdp@polstra.uucp Polstra & Co., Inc. practic!polstra!jdp@uunet.uu.net Seattle, Washington USA ...{uunet,sun,pyramid}!practic!polstra!jdp (206) 932-6482
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (05/29/90)
Has anybody else noticed that Athena Command widgets with the "roundedRectangle" shape style look awful? Yep, immediately upon the feature being implemented. This is a side-effect of the X pixelization rules for filled arcs. They aren't symmetric, and they look pretty ugly at small diameters, which is what's used for rounded rects.
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (05/29/90)
if you draw two filled circles, (complementary, in opposite colors), as the boundary moves, you get leftover dots. I'm not sure I understand what you're saying, perhaps you could provide a simple code example? By the way, are said pixelation rules different/better in X11R4 than X11R3? The R4 server is believed to do arcs correctly (well, it actually is rather difficult to do the straight-line Pie/Chord edges exactly, but we come very close), at least a server using strictly the cfb/mfb/mi code. I can't say about other ddx implementations. We don't have R4 yet (from HP), so I was kind of hoping the problem was at least reduced??? I can't speak for the correctness of HP's ddx layer, I haven't analyzed it.
jcp@cgch.UUCP (Joseph C. Pistritto) (05/30/90)
> Has anybody else noticed that Athena Command widgets with the > "roundedRectangle" shape style look awful? > > Yep, immediately upon the feature being implemented. This is a side-effect > of the X pixelization rules for filled arcs. They aren't symmetric, and > they look pretty ugly at small diameters, which is what's used for rounded > rects. A side effect of this seems to be that Filled Circles drawn with the ArcFillMode (I think that's it), are weird at the edges. In particular, if you draw two filled circles, (complementary, in opposite colors), as the boundary moves, you get leftover dots. Pretty annoying, particularly when doing the same thing on most hardware graphics boxes (directly, not using X), doesn't have that problem. By the way, are said pixelation rules different/better in X11R4 than X11R3? We don't have R4 yet (from HP), so I was kind of hoping the problem was at least reduced??? -jcp- -- Joseph C. Pistritto (cgch!bpistr@chx400.switch.ch, jcp@brl.mil) Ciba Geigy AG, R1241.1.01, Postfach CH4002, Basel, Switzerland Tel: +41 61 697 6155 (work) +41 61 692 1728 (home) GMT+2hrs!