summaryrefslogtreecommitdiffstats
path: root/src/Canvas/DrawContextInterface.php
diff options
context:
space:
mode:
authorGabriel Rodrigues Couto <gabrielrcouto@gmail.com>2016-07-02 23:18:46 -0300
committerGabriel Rodrigues Couto <gabrielrcouto@gmail.com>2016-07-02 23:18:46 -0300
commit89e12a4415c38e04631747b4bc6103e0a64b1e8b (patch)
tree55f847a5cd1af60a86850968affb95607611bb7d /src/Canvas/DrawContextInterface.php
parentadffbf649de03cbb83b2cdc09559f45c567e42c2 (diff)
downloadphp-terminal-gameboy-emulator-master.zip
php-terminal-gameboy-emulator-master.tar.gz
php-terminal-gameboy-emulator-master.tar.bz2
Some functions moved to LcdControllerHEADorigin/masterorigin/HEADmaster
TerminalCanvas refactored, removed Drawille dependency, implemented a faster braille render. Thank you @whatthejeff for the inspiration :-) Little FPS gain #46
Diffstat (limited to 'src/Canvas/DrawContextInterface.php')
-rw-r--r--src/Canvas/DrawContextInterface.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Canvas/DrawContextInterface.php b/src/Canvas/DrawContextInterface.php
index 5b79f8d..6b4aaa5 100644
--- a/src/Canvas/DrawContextInterface.php
+++ b/src/Canvas/DrawContextInterface.php
@@ -12,8 +12,6 @@ interface DrawContextInterface
* Draw image on canvas.
*
* @param array $canvasBuffer If colored, each pixel => 4 items on array (RGBA)
- * @param int $left
- * @param int $top
*/
- public function draw($canvasBuffer, $left, $top);
+ public function draw($canvasBuffer);
}