Skip to main content
Known Participant
September 4, 2023
Question

Custom glyph rendering in Adobe InDesign on Palettes

  • September 4, 2023
  • 1 reply
  • 211 views

Hi,

 

We are currently using the following Icon on our custom Palette that is being rendered using IControlView native rendering (IconSuiteWidge)

However, when I custom render by deriving my own class from IconSuiteWidget and overriding it's 'Draw' method (based on Create24bitRGBPreview used in the SDK samples), the same glyph is being rendered like so. 

I am not sure what I am missing or how I can achieve the same result as InDesign native rendering. It feels this may have something to do with transparency and opacity, but I am not sure. Any help here is really appreciated.

 

Secondly, I see an approach using overriding DV_Draw in the sample CusDtLnkUICustomView::DV_Draw which seems like an alternate to overriding Draw. What are the pros and cons of this approach and is this likely to yield any better results as far as my use case is concerned?

 

Thanks,

This topic has been closed for replies.

1 reply

asaxenaAuthor
Known Participant
September 7, 2023

Hi, checking if there is any suggestions for my queries.

Thanks