mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
Everywhere: Fix a few typos
Some even user-visible!
This commit is contained in:
parent
3d10132021
commit
f56b897622
10 changed files with 13 additions and 13 deletions
|
@ -40,14 +40,14 @@ void SVGGraphicsElement::parse_attribute(DeprecatedFlyString const& name, Deprec
|
|||
}
|
||||
}
|
||||
|
||||
Gfx::AffineTransform transform_from_transform_list(ReadonlySpan<Transform> tranform_list)
|
||||
Gfx::AffineTransform transform_from_transform_list(ReadonlySpan<Transform> transform_list)
|
||||
{
|
||||
Gfx::AffineTransform affine_transform;
|
||||
auto to_radians = [](float degrees) {
|
||||
return degrees * (AK::Pi<float> / 180.0f);
|
||||
};
|
||||
for (auto& tranform : tranform_list) {
|
||||
tranform.operation.visit(
|
||||
for (auto& transform : transform_list) {
|
||||
transform.operation.visit(
|
||||
[&](Transform::Translate const& translate) {
|
||||
affine_transform.multiply(Gfx::AffineTransform {}.translate({ translate.x, translate.y }));
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue