SRGraph::LoadPolygon

SRGCompiledPolygon * SRGraph::LoadPolygon(LPCTSTR strPolygonName, LPCTSTR strSectionName)

New for OC v 1.3 This function loads polygons from a custom resource or from local disk storage.

Defined in: SRGraph.cpp

Return Value

SRGCompiledPolygon * points to a valid compiled polygon or NULL if one does not exist.

Parameters

strPolygonName

LPCTSTR strPolygonName is the name of the polygon to load.

strSectionName

LPCTSTR strSectionName is the name of the custom resource sub-ection from which to load the named polygon.