Lines Matching refs:pParentSvgSvgNode
212 const SvgSvgNode* pParentSvgSvgNode = 0; in seekReferenceWidth() local
219 pParentSvgSvgNode = dynamic_cast< const SvgSvgNode* >(pParent); in seekReferenceWidth()
220 if (pParentSvgSvgNode) in seekReferenceWidth()
222 if (pParentSvgSvgNode->getViewBox()) in seekReferenceWidth()
225 fWidth = pParentSvgSvgNode->getViewBox()->getWidth() * fPercentage; in seekReferenceWidth()
231 if (pParentSvgSvgNode->getWidth().isSet()) in seekReferenceWidth()
233 if (Unit_percent == pParentSvgSvgNode->getWidth().getUnit()) in seekReferenceWidth()
235 fPercentage *= pParentSvgSvgNode->getWidth().getNumber() * 0.01; in seekReferenceWidth()
239 … fWidth = pParentSvgSvgNode->getWidth().solveNonPercentage(*pParentSvgSvgNode) * fPercentage; in seekReferenceWidth()
254 const SvgSvgNode* pParentSvgSvgNode = 0; in seekReferenceHeight() local
261 pParentSvgSvgNode = dynamic_cast< const SvgSvgNode* >(pParent); in seekReferenceHeight()
262 if (pParentSvgSvgNode) in seekReferenceHeight()
264 if (pParentSvgSvgNode->getViewBox()) in seekReferenceHeight()
267 fHeight = pParentSvgSvgNode->getViewBox()->getHeight() * fPercentage; in seekReferenceHeight()
273 if (pParentSvgSvgNode->getHeight().isSet()) in seekReferenceHeight()
275 if (Unit_percent == pParentSvgSvgNode->getHeight().getUnit()) in seekReferenceHeight()
277 fPercentage *= pParentSvgSvgNode->getHeight().getNumber() * 0.01; in seekReferenceHeight()
281 … fHeight = pParentSvgSvgNode->getHeight().solveNonPercentage(*pParentSvgSvgNode) * fPercentage; in seekReferenceHeight()