/* Process a scaley function. */ static void ProcessScaleY(float aMain[4], const nsCSSValue::Array* aData) { NS_PRECONDITION(aData->Count() == 2, "Bad array!"); ProcessScaleHelper(1.0f, aData->Item(1).GetFloatValue(), aMain); }
/* Process a scalex function. */ /* static */ gfx3DMatrix nsStyleTransformMatrix::ProcessScaleX(const nsCSSValue::Array* aData) { NS_PRECONDITION(aData->Count() == 2, "Bad array!"); return ProcessScaleHelper(aData->Item(1).GetFloatValue(), 1.0f, 1.0f); }
static void ProcessScaleZ(Matrix4x4& aMatrix, const nsCSSValue::Array* aData) { NS_PRECONDITION(aData->Count() == 2, "Bad array!"); ProcessScaleHelper(aMatrix, 1.0f, 1.0f, aData->Item(1).GetFloatValue()); }