Updating the sample plugin with performance optimizations and better audio support.
This commit is contained in:
@@ -124,6 +124,10 @@ FormPlugin::~FormPlugin() {
|
||||
gPaintI.deletePaint(m_paintText);
|
||||
}
|
||||
|
||||
bool FormPlugin::supportsDrawingModel(ANPDrawingModel model) {
|
||||
return (model == kBitmap_ANPDrawingModel);
|
||||
}
|
||||
|
||||
void FormPlugin::draw(ANPCanvas* canvas) {
|
||||
NPP instance = this->inst();
|
||||
PluginObject *obj = (PluginObject*) instance->pdata;
|
||||
|
||||
Reference in New Issue
Block a user