Hello all, I have been working on a project using Cluttermm. A specific part of the project requires that I regularly resize text. In order to do so, I thought it would be most efficient to use cogl matrices as opposed to passing a new font to the label object. Unfortunately, the results have proven unpredictable. I resize the text using cogl_scale which works as expected. I then use cogl_translate in order to compensate for the movement of the text as a result of the transformation. It would seem, however, that cogl_translate does move the specified number of pixels (rather only a small fraction of that amount).
How does Clutter set up the cogl rendering environment? Is there a constant factor by which translations must be multiplied or is there a different way in which an object can be shifted? It should also be noted that the text is a child of another Actor. Is my problem related to this? Thanks, Andy
_______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
