OSL_PRECOND(m_nDimension<=static_cast<sal_Int32>(rScales.size()),"Dimension of Plotter does not fit two dimension of given scale sequence");
m_pPosHelper->setScales( std::move(rScales), bSwapXAndYAxis );
}
void PlotterBase::setTransformationSceneToScreen( const drawing::HomogenMatrix& rMatrix)
{ if (!m_pPosHelper) return;
OSL_PRECOND(m_nDimension==2,"Set this transformation only in case of 2D"); if(m_nDimension!=2) return;
m_pPosHelper->setTransformationSceneToScreen( rMatrix );
}
rtl::Reference<SvxShapeGroupAnyD> PlotterBase::createGroupShape( const rtl::Reference<SvxShapeGroupAnyD>& xTarget
, const OUString& rName )
{ if(m_nDimension==2)
{ //create and add to target return ShapeFactory::createGroup2D( xTarget, rName );
} else
{ //create and added to target return ShapeFactory::createGroup3D( xTarget, rName );
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.