Setting up your Kanzi Studio project

Before you can create vector shapes in your Kanzi application, you must set up your Kanzi Studio project to use the Vector Shapes.

To set up your Kanzi Studio project:

  1. Install the Vector Shapes. See Installing the plugin.

  2. Make sure that the solution configuration you use in Visual Studio to build your application and plugin projects matches the settings of your Kanzi Studio project.

    For example, if you use the Release solution configuration in Visual Studio 2017, in your Kanzi Studio project in the Project > Properties set:

    • Preview OpenGL ES Wrapper to GL (Emulation through desktop OpenGL)

    • Preview Build Configuration to Release

    • Preview Visual Studio Version to 2017

    • Preview Working Directory to ../Application/bin.

      With these settings you set the Kanzi Studio Preview to work with the plugin.

    _images/project-properties.png _images/properties-project.png
  3. In the Library right-click Kanzi Engine Plugins and select Import Kanzi Engine Plugin.

    _images/import-kanzi-engine-plugin.png
  4. In the Vector Shapes package go to the lib directory, select the plugin in the directory of the configuration that you selected in the first step, and click Open.

    For example, select win32/GL_vs2017_Release_DLL/kzvectorshapes.dll. Kanzi Studio imports the Vector Shapes to your Kanzi Studio project. The Vector Shapes contains the elements that you need to show 2D vector graphics in your Kanzi application.

    _images/kzvectorshapes-in-library.png _images/kzvectorshapes-properties.png

You can now create vector shape nodes in your project. See Using vector shape nodes.

See also

Using vector shape nodes