Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tradução inicial dos arquivos em reference/imagick/imagickdraw #646

Merged
merged 4 commits into from
May 20, 2024

Conversation

AdaiasMagdiel
Copy link
Contributor

No description provided.

Copy link
Contributor

@leonardolara leonardolara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excelente contribuição.
Fiz alguns comentários para correção antes de fazer o merge.

&reftitle.examples;
<para>
<example>
<title><function>ImagickDraw::affine</function> exemplo</title>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugiro inverter a ordem das palavras:
Exemplo de <function.....>xxx

//produz desenhos com escala incorrecta.
$affineRotate = array("sx" => cos($angle), "sy" => cos($angle), "rx" => sin($angle), "ry" => -sin($angle), "tx" => 0, "ty" => 0,);

//Translação (offset) do desenho
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

offset = deslocamento

$image->newImage(500, 750, $backgroundColor);
$image->setImageFormat("png");

//Renderiza os comandos de desenho do objeto ImagickDraw
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

//Renderiza os comandos de desenho no objeto ImagickDraw

//Dimensiona as coordernadas de desenho.
$affineScale = array("sx" => 1.75, "sy" => 1.75, "rx" => 0, "ry" => 0, "tx" => 0, "ty" => 0);

//Corta as coordernadas de desenho.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shear = cisalhar ou inclinar
//Cisalha as coordenadas de desenho.
OU
//Inclina as coordenadas de desenho.

$affineShear = array("sx" => 1, "sy" => 1, "rx" => sin($angle), "ry" => -sin($angle), "tx" => 0, "ty" => 0);

//Rotaciona as coordernadas. A matriz afim de cisalhamento
//produz desenhos com escala incorrecta.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Em pt_BR, a palavra deve ser escrita "incorreta" e não "incorrecta" como em pt_PT.

&reftitle.examples;
<para>
<example>
<title><function>ImagickDraw::arc</function> exemplo</title>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exemplo de ...

&reftitle.examples;
<para>
<example>
<title><function>ImagickDraw::bezier</function> exemplo</title>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exemplo de...

&reftitle.examples;
<para>
<example>
<title><function>ImagickDraw::circle</function> exemplo</title>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exemplo de...

&reftitle.examples;
<para>
<example>
<title><function>ImagickDraw::point</function> exemplo</title>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exemplo de...

@leonardolara
Copy link
Contributor

Favor configurar seu editor de texto ou IDE para não salvar os "trailing whitespaces".
Isso facilita muito a comparação entre arquivos.

@AdaiasMagdiel
Copy link
Contributor Author

Excelente contribuição. Fiz alguns comentários para correção antes de fazer o merge.

Tudo bem, muito obrigado pelos seus comentários, irei fazer essas correções e enviarei novamente

@leonardolara leonardolara merged commit 3558e4b into php:master May 20, 2024
1 check passed
@AdaiasMagdiel AdaiasMagdiel deleted the reference/imagick/imagickdraw branch May 22, 2024 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants