Beispiel #1
0
void NodeMouldGroup::PreExportNATEPS(RenderRegion* pRegion)
{
#if !defined(EXCLUDE_FROM_RALPH)
	EPSExportDC *pDC = (EPSExportDC *) pRegion->GetRenderDC();
	pDC->OutputToken(_T("csso"));			// Camelot "start mould source" token
	pDC->OutputNewLine();
#endif
}
Beispiel #2
0
BOOL NodeMouldGroup::PostExportNATEPS(RenderRegion* pRegion)
{
#if !defined(EXCLUDE_FROM_RALPH)
	EPSExportDC *pDC = (EPSExportDC *) pRegion->GetRenderDC();
	pDC->OutputToken(_T("ceso"));			// Camelot "end mould source" token
	pDC->OutputNewLine();
#endif
	return TRUE;
}
Beispiel #3
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
}