Jonathan Gapen wrote:
>
> Adam Fedor wrote:
> >
> > The image for the verticle glider seems messed up and I can't figure out
> > why (see the Slider GSTest for an example).
>
> Are you sure it's not in the NSImage code somewhere? I see the
> distortion you're talking about in the vertical NSSlider, but I also see
> it anywhere an NSImage is drawn smaller than its size. There was
> recently a question about distorted checkbox images in gmodels, and I
> found that it is a result of trying to draw a 16x16 image in a 15x15
> frame. It results in exactly the same sort of distortion as I see in
> the vertical slider knob.
I guess your observation finally made something click in my brain. It
turns out the image drawing was accessing the image data using the
destination frame rather than the image size. This should be fixed now.