}
} break;
nsSVGTransform::GetValueString(nsAString& aValue){  aValue.Truncate();  PRUnichar buf[256];    switch (mType) {    case nsIDOMSVGTransform::SVG_TRANSFORM_TRANSLATE:      {        float dx, dy;        mMatrix->GetE(&dx);        mMatrix->GetF(&dy);        if (dy != 0.0f)          nsTextFormatter::snprintf(buf, sizeof(buf)/sizeof(PRUnichar), NS_LITERAL_STRING("translate(%g, %g)").get(), dx, dy);        else          nsTextFormatter::snprintf(buf, sizeof(buf)/sizeof(PRUnichar), NS_LITERAL_STRING("translate(%g)").get(), dx);      }      break;    case nsIDOMSVGTransform::SVG_TRANSFORM_ROTATE:      {        if (mOriginX != 0.0f || mOriginY != 0.0f)          nsTextFormatter::snprintf(buf, sizeof(buf)/sizeof(PRUnichar),                                    NS_LITERAL_STRING("rotate(%g, %g, %g)").get(),                                    mAngle, mOriginX, mOriginY);        else          nsTextFormatter::snprintf(buf, sizeof(buf)/sizeof(PRUnichar),                                    NS_LITERAL_STRING("rotate(%g)").get(), mAngle);      }      break;            case nsIDOMSVGTransform::SVG_TRANSFORM_SCALE:      {        float sx, sy;        mMatrix->GetA(&sx);        mMatrix->GetD(&sy);        if (sy != 0.0f)          nsTextFormatter::snprintf(buf, sizeof(buf)/sizeof(PRUnichar),                                    NS_LITERAL_STRING("scale(%g, %g)").get(), sx, sy);        else          nsTextFormatter::snprintf(buf, sizeof(buf)/sizeof(PRUnichar),                                    NS_LITERAL_STRING("scale(%g)").get(), sx);      }      break;    case nsIDOMSVGTransform::SVG_TRANSFORM_SKEWX:      {        nsTextFormatter::snprintf(buf, sizeof(buf)/sizeof(PRUnichar),                                  NS_LITERAL_STRING("skewX(%g)").get(), mAngle);      }      break;    case nsIDOMSVGTransform::SVG_TRANSFORM_SKEWY:      {        nsTextFormatter::snprintf(buf, sizeof(buf)/sizeof(PRUnichar),                                  NS_LITERAL_STRING("skewY(%g)").get(), mAngle);      }      break;    case nsIDOMSVGTransform::SVG_TRANSFORM_MATRIX:      {        float a,b,c,d,e,f;        mMatrix->GetA(&a);        mMatrix->GetB(&b);        mMatrix->GetC(&c);        mMatrix->GetD(&d);        mMatrix->GetE(&e);        mMatrix->GetF(&f);        nsTextFormatter::snprintf(buf, sizeof(buf)/sizeof(PRUnichar),                                  NS_LITERAL_STRING("matrix(%g, %g, %g, %g, %g, %g)").get(),                                  a, b, c, d, e, f);      }     default:      buf[0] = '\0';      NS_ERROR("unknown transformation type");      break;  }  aValue.Append(buf);    return NS_OK;}