Ipelib
ipe::ObjectFactory Class Reference

#include <ipefactory.h>

Static Public Member Functions

static ObjectcreateObject (String name, const XmlAttributes &attr, String data)
static ObjectcreateImage (String name, const XmlAttributes &attr, Bitmap bitmap)

Detailed Description

Factory for Ipe leaf objects.

Member Function Documentation

◆ createObject()

Object * ObjectFactory::createObject ( String name,
const XmlAttributes & attr,
String data )
static

Create an Ipe object by calling the right constructor.

References ipe::Path::create().

Referenced by ipe::ImlParser::parseObject().

◆ createImage()

Object * ObjectFactory::createImage ( String name,
const XmlAttributes & attr,
Bitmap bitmap )
static

Create an Image with a given bitmap.

Referenced by ipe::ImlParser::parseObject().


The documentation for this class was generated from the following files: