-
Notifications
You must be signed in to change notification settings - Fork 104
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
tradução inicial dos arquivos em reference/imagick/imagickdraw #646
Conversation
There was a problem hiding this 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> |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exemplo de...
Favor configurar seu editor de texto ou IDE para não salvar os "trailing whitespaces". |
Tudo bem, muito obrigado pelos seus comentários, irei fazer essas correções e enviarei novamente |
No description provided.