Re: RTMultiCompositeShape + Bitmap
Posted by
abergel on
Nov 25, 2014; 4:26pm
URL: https://forum.world.st/RTMultiCompositeShape-Bitmap-tp4791277p4792212.html
Acabo de el problema de componer composite shapes.

Avisame como va.
Saludos,
Alexandre
On Nov 25, 2014, at 10:06 AM, Alexandre Bergel <[hidden email]> wrote:
Hi Rosario,
I have updated trachel but it still doesnt work.
What do you mean? I have the following:
<Screen Shot 2014-11-25 at 10.03.36 AM.png>
I think i found another
bug. Look at this new example:
| element label bitmap composite text |
text := (WriteStream on: ' ')
nextPutAll: 'string1';
nextPut: Character cr;
nextPutAll: 'string2';
contents.
label := RTLabel new text: text.
bitmap := RTBitmap new form: (Form dotOfSize: 10).
composite := (RTMultiCompositeShape with: bitmap with: label)
vertical.
element := RTElement new addShape: composite.
I cannot reproduce the problem.
I have the following:
<Screen Shot 2014-11-25 at 10.05.39 AM.png>
However, I see a new problem here. Is that the bitmap should be above the label. And it is not.
I will work on it.
Cheers,
Alexandre
RTLabel in trachel becomes a TRCompositeShape (because the text has two
lines) and a TRCompositeShape doesnt understand #extent.
Thanks,
Rosario
--
View this message in context: http://forum.world.st/RTMultiCompositeShape-Bitmap-tp4791277p4791565.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.