[Cuis-dev] privateDisplayBounds wrong value
Juan Vuletich
juan at jvuletich.org
Fri Oct 22 06:59:00 PDT 2021
On 10/21/2021 4:13 PM, Hilaire Fernandes via Cuis-dev wrote:
>
> Hi,
>
> I have observed that some of the views of my math model have the
> privateDisplayBounds set to things like 1847 at 1015 corner: 1 at 1
>
> The drawn method look like:
>
> drawOn: aCanvas
> | r |
> self contents: mathItem text.
> r := self labelPosition extent: extent.
> aCanvas
> textComposition: textComposition
> bounds: (r insetBy: 4)
> color: color
> selectionColor: `Color red`.
>
> It was ok previously, may be one/two months ago.
>
> Hilaire
>
> --
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu
Hi Hilaire,
That variable is for internal use of the framework. Usually you don't
need to care about its value. Sometimes it will be nil. Sometimes it
will be a null rectangle (like in the example you saw). Sometimes it
will be a valid rectangle. Don't worry.
Cheers,
--
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211022/91321a65/attachment.htm>
More information about the Cuis-dev
mailing list