public SVGGroup(SVGGroup pSVGroupParent, SVGProperties pSVGProperties, bool pHasTransform) { this.mSVGroupParent = pSVGroupParent; this.mSVGProperties = pSVGProperties; this.mHasTransform = pHasTransform; this.mHidden = (this.mSVGroupParent != null && this.mSVGroupParent.isHidden()) || this.isDisplayNone(); }
void parseGroup(Attributes pAttributes) { /* Check to see if this is the "bounds" layer. */ if ("bounds".Equals(pAttributes.GetStringAttribute(SVGConstants.ATTRIBUTE_ID))) { this.mBoundsMode = true; } SVGGroup parentSVGGroup = (this.mSVGGroupStack.Count > 0) ? this.mSVGGroupStack.Peek() : null; bool hasTransform = this.pushTransform(pAttributes); this.mSVGGroupStack.Push(new SVGGroup(parentSVGGroup, this.getSVGPropertiesFromAttributes(pAttributes, true), hasTransform)); this.updateHidden(); }