Code Duplication    Length = 4-4 lines in 3 locations

app/Vendor/m2brimagem.php 3 locations

@@ 567-570 (lines=4) @@
564
				$x = 0;
565
				$y = ( $this->altura / 2 ) - ( $marca_h / 2 );  
566
				break;
567
			case 'meio_centro':
568
				$x = ( $this->largura - $marca_w ) / 2;
569
				$y = ( $this->altura / 2 ) - ( $marca_h / 2 );
570
				break;
571
			case 'meio_direita':
572
				$x = $this->largura - $marca_w;
573
				$y = ( $this->altura / 2) - ( $marca_h / 2 );
@@ 571-574 (lines=4) @@
568
				$x = ( $this->largura - $marca_w ) / 2;
569
				$y = ( $this->altura / 2 ) - ( $marca_h / 2 );
570
				break;
571
			case 'meio_direita':
572
				$x = $this->largura - $marca_w;
573
				$y = ( $this->altura / 2) - ( $marca_h / 2 );
574
				break;
575
			case 'baixo_esquerda':
576
				$x = 0;
577
				$y = $this->altura - $marca_h;
@@ 579-582 (lines=4) @@
576
				$x = 0;
577
				$y = $this->altura - $marca_h;
578
				break;
579
			case 'baixo_centro':
580
				$x = ( $this->largura - $marca_w ) / 2;
581
				$y = $this->altura - $marca_h;
582
				break;
583
			case 'baixo_direita':
584
				$x = $this->largura - $marca_w;
585
				$y = $this->altura - $marca_h;