![]() | InDesign SDK 20.5 |

Public Member Functions | |
| virtual bool | SetRsrc (const PluginID &pid, const RsrcID &rid, const bool isRollOver, const bool isDark=false, const float scaleFactor=1.0, const float iconScale=2.0)=0 |
| virtual bool | SetRsrc (const RsrcSpec &spec, const float scaleFactor=1.0, const float iconScale=2.0)=0 |
| virtual bool | SetFile (const IDFile &idFile, const float scaleFactor=1.0, const float iconScale=2.0)=0 |
| virtual void | Draw (IGraphicsPort *gPort, const PMMatrix &imMatrix, int32 agmflags)=0 |
| virtual void | DrawDisabled (IGraphicsPort *gPort, const PMMatrix &imMatrix, int32 agmflags)=0 |
| virtual bool | HasAlpha ()=0 |
| virtual bool | IsLoaded ()=0 |
| virtual void | Delete ()=0 |
| virtual int | GetHeight () const =0 |
| virtual int | GetWidth () const =0 |
| virtual AGMImageRecord * | GetBitmap () const =0 |
| pure virtual |
| pure virtual |
Draw's the image to the supplied graphics port
| IGraphicsPort,: | IGraphicsPort to draw to |
| PMMatrix,: | Transformation matrix to apply to the SVG/PNG, if no translation is desired use the idenity matrix or just a plain PMMatrix. |
| agmflags,: | Any desired AGM flags, use 0 if none are desired. |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
Deletes any currently loaded resource and loads an image from a plugin's resource. This is the preferred approach.
| PluginID,: | PluginId to load the resource from |
| RsrcID,: | Resource ID of the image |
| bool,: | Rollover resource? |
| bool,: | Dark UI resource? |
| float | scale factor at which image should be displayed. |
| float | scale of the icon. |