Esempio n. 1
0
void NodeEllipse::PreExportRender(RenderRegion* pRegion)
{
#ifdef DO_EXPORT
	if (pRegion->IsKindOf(CC_RUNTIME_CLASS(ArtWorksEPSRenderRegion)))
	{
		// Output "ArtWorks ellipse" token
		EPSExportDC *pDC = (EPSExportDC *) pRegion->GetRenderDC();

		// Output the 3 coords defining the ellipse's bounding parallelogram
		pDC->OutputCoord(Parallel[0]);
		pDC->OutputCoord(Parallel[1]);
		pDC->OutputCoord(Parallel[2]);

		// And the token itself
		pDC->OutputToken(_T("ae"));
		pDC->OutputNewLine();
	}
#endif
}