Merge branch 'rotate_dimensions_when_image_is_rotated' into storageareas

This commit is contained in:
Isaac Connor
2016-01-04 13:19:09 -05:00

View File

@@ -80,5 +80,17 @@ class Monitor {
return( $streamSrc );
} // end function etStreamSrc
public function Width() {
if ( $this->Orientation() == '90' or $this->Orientation() == '270' ) {
return $this->{'Height'};
}
return $this->{'Width'};
}
public function Height() {
if ( $this->Orientation() == '90' or $this->Orientation() == '270' ) {
return $this->{'Width'};
}
return $this->{'Height'};
}
}
?>