[PD] Vanilla way to output text 'emebedded' in patch or how a [text] object
Lorenzo Sutton
lorenzofsutton at gmail.com
Sun Feb 12 19:47:09 CET 2023
On 08/02/2023 20:36, José de Abreu wrote:
> yes, you can use a data structure with a text, in some hours i can make
> an example, you can control the position of the text in the canvas and
> also its color
>
> another trick is to use a [cnv] object and use its label method to
> insert text, and then you control the cnv position, this way you can
> also change the size and the font of the text, you can check [cnv]
> helpfile for some examples i guess
Thanks for the suggestions. I'd like to output 'lots' of text
(potentially), so maybe the canvas label is not the best. Would this
work with a structure (I couldn't really find much documentation about
it). [text] seems to work well (albeit you 'insert' text at the top).
Lorenzo
>
> Em qua., 8 de fev. de 2023 09:41, Lorenzo Sutton
> <lorenzofsutton at gmail.com <mailto:lorenzofsutton at gmail.com>> escreveu:
>
> Hi all,
>
> Is there a way to output text (as if using [print]) 'embedded' in a
> patch?
>
> Or, alternatively, a way to define the position and visibility of a
> [text] object (the actual text) programmatically? One could link a
> [click( message to [text define] to have it visible but I don't think
> its position (i.e. screen coordinates) are saved with the patch like
> e.g. the patch position itself?
>
> Thanks,
> Lorenzo
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> <https://lists.puredata.info/listinfo/pd-list>
>
More information about the Pd-list
mailing list