Text>>fromString: and String>>asText

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Text>>fromString: and String>>asText

Fernando olivero
Name: SLICE-Issue-2745-TextFromStringAddingBlackAttribute-FernandoOlivero.1
Author: FernandoOlivero
Time: 3 August 2010, 3:32:02 pm
UUID: 85d642dd-87c1-4cab-9aa2-629ab10a6bd8
Ancestors: 
Dependencies: Collections-Text-FernandoOlivero.37

Added the black color attribute to all text's, created sending #asText ( which in turn sends Text>>fromString: ).

Which produces a transparent color when rendered sending:
aCanvas
	paragraph: paragraph
	bounds: bounds
	color: self fillStyle

I've added the black color attribute by default.


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project