Copy link to clipboard
Copied
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,
Copy link to clipboard
Copied
Hi, checking if there is any suggestions for my queries.
Thanks