Answer the question
In order to leave comments, you need to log in
What can affect the work of imagerotate()?
Hello!
There was a problem:
for($i = 2; $i <= 6; $i++)
{
if( $i == 4 ) continue;
$st_ang = $this->_aHouse[$i];
$st_ang = $st_ang - $this->_Asc - 180 - 30;
$image_2 = imagecreatefrompng('./image/blue_line.png');
$image_2 = imagerotate($image_2, $st_ang, -1, 0);
imagesetbrush($image_1, $image_2);
imageline($image_1, imagesx($image_1) / 2, imagesy($image_1) / 2, imagesx($image_1) / 2, imagesy($image_1) / 2, IMG_COLOR_BRUSHED);
imagedestroy($image_2);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question