}
#include "CallGraphicController.hxx"
-
+#include "GraphicObjectBuilder.hxx"
#include "DataController.hxx"
using namespace org_scilab_modules_graphic_objects;
{
CallGraphicController::buildFigureMenuBar(getScilabJavaVM(), _sFigureId);
}
+
+char * constructRectangles(char * pparentsubwinUID, double x, double y, double height, double width, int foreground, int background, int isfilled, int isline)
+{
+ try
+ {
+ return GraphicObjectBuilder::constructRectangles(getScilabJavaVM(), pparentsubwinUID, x, y, height, width, foreground, background, isfilled, isline);
+ }
+ catch (std::exception & e)
+ {
+ printf("exception: %s\n", e.what());
+ return NULL;
+ }
+}