IIRC it is because the at: point is outside the range VW can deal with
(32767?). There was some discussion a little while back about whether
that range limitation need still be there - it was implied from some X
header file.
Steve
> -----Original Message-----
> From:
[hidden email] [mailto:
[hidden email]]
On
> Behalf Of Mark Ballard
> Sent: 03 July 2006 10:35
> To:
[hidden email]
> Cc: Venkatraj, M; Mark Ballard
> Subject: why does this display of a mask fail? if I change the point
to
> 0@0 it does not fail
>
> See code below. Why does this display of a mask fail (get
> primitiveFailed)? If I change the point for the at: to 0@0 it does
not
> fail. Is there a way to make the display succeed? Maybe by making a
> smaller mask of just the area that is to be displayed?
>
>
> sw := ScheduledWindow model: nil label: 'atest' minimumSize: 300@300.
> sw open.
> gc := sw graphicsContext.
> aMask := Mask extent: 11534 @ 58589 on: Screen default.
> gc displayMask: aMask at: (-9683@-36682).
>
>
>
> Running vw7.3.1 on Solaris or Linux.
>
>
> --
>
[hidden email]
> (503) 627-5890 Desk (503) 627-1388 Fax