octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56958] [Octave-Forge] (image) Implementation


From: Guillaume
Subject: [Octave-bug-tracker] [bug #56958] [Octave-Forge] (image) Implementation of insertText
Date: Mon, 7 Dec 2020 05:23:12 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #13, bug #56958 (project octave):

Thanks Pantxo! I was just wondering whether a more "generic" user-level access
to the text_renderer class could be useful in other functions (FontWeight,
Interpreter, ...).

I attach where I am so far with insertText.m. I use padarray() so it would
indeed probably fit in the image processing package.
Looking back, I should perhaps have used inputParser, struct instead of
containers.Map and there might be some functions from the image processing
package that could be reused to shorten the code here but I am not too
familiar with them.
I added a subfunction str2rgb(): perhaps color_values::str2rgb from
libinterp/corefcn/graphics.cc could be made accessible from M-code?

(file #50412)
    _______________________________________________________

Additional Item Attachment:

File name: insertText.m                   Size:8 KB
    <https://file.savannah.gnu.org/file/insertText.m?file_id=50412>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56958>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]