SRGraph::GetCompiledPolygon

BOOL SRGraph::GetCompiledPolygon(LPCTSTR strPolygonName, LPCTSTR strSectionName, SRGCompiledPolygon * * pPoly, double dAngle)

Searches for a named polygon in the compiled polygon list.

Defined in: SRGraph.cpp

Return Value

BOOL TRUE if the polyon is found. FALSE

Parameters

strPolygonName

LPCTSTR strPolygonName is the name of the polygon to fetch from the list.

strSectionName

LPCTSTR strSectionName contains the name of the custom resource sub-section.

pPoly

SRGCompiledPolygon * * pPoly ia a pionter to a pointer that should recieve the address of the compiled polygon.

dAngle

double dAngle the angle to which the polygon should be rotated. Defaults to 0.