[TD]Make TD View from ActiveView
This commit is contained in:
@@ -382,6 +382,7 @@ SoFCVectorizeSVGAction::SoFCVectorizeSVGAction() :
|
||||
m_lineWidth(1.0),
|
||||
m_usemm(false)
|
||||
{
|
||||
Base::Console().Message("SoFCVSA::SoFCVSA()\n");
|
||||
SO_ACTION_CONSTRUCTOR(SoFCVectorizeSVGAction);
|
||||
this->setOutput(new SoSVGVectorOutput);
|
||||
this->p = new SoFCVectorizeSVGActionP(this);
|
||||
@@ -400,6 +401,7 @@ SoFCVectorizeSVGAction::getSVGOutput(void) const
|
||||
|
||||
void SoFCVectorizeSVGAction::printHeader(void) const
|
||||
{
|
||||
Base::Console().Message("SoFCVSA::printHeader()\n");
|
||||
std::ostream& str = this->getSVGOutput()->getFileStream();
|
||||
str << "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>" << std::endl;
|
||||
str << "<!-- Created with FreeCAD (http://www.freecadweb.org) -->" << std::endl;
|
||||
@@ -433,6 +435,8 @@ void SoFCVectorizeSVGAction::printViewport(void) const
|
||||
|
||||
void SoFCVectorizeSVGAction::printBackground(void) const
|
||||
{
|
||||
Base::Console().Message("SoFCVSA::printBackground()\n");
|
||||
|
||||
SbVec2f mul = getRotatedViewportSize();
|
||||
SbVec2f add = getRotatedViewportStartpos();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user