You are reading a single comment by @gerardwr and its replies. Click here to read the full conversation.
  • @NebbishHacker
    I was thinking about this strategy for my drawstring override:

    • get the area that is going to be covered by the string using fontHeight/fontWidth accounting for newlines in the string
    • clear this area with clearRect
    • then call the original drawstring
    • done, nice and simple, no further bookkeeping.

    But using getModified is more universal as it seems to cover all graphics. I have an App that uses many screens, so I would have to do a lot of bookkeeping with the different getModified areas.

    Hmmmmm...... pondering .........


Avatar for gerardwr @gerardwr started