James Chen
391e6e536e
Supports text stroke for macOS, iOS and Android. ( #1250 )
...
* Supports stroke for mac.
* Supports text stroke for ios.
* Supports text stroke for android.
* typo fix in CanvasRenderingContext2DImpl.java.
2018-05-21 11:38:05 +08:00
James Chen
58361e1b2d
Avoid to create canvas buffer twice. ( #1242 )
...
* Avoid to create canvas buffer twice.
* Remove unused condition code in Cocos2dxActivity.java
2018-05-15 11:00:52 +08:00
James Chen
53ffc817ee
Fixes JNI memory leak in CanvasRenderingContext2DImpl::fillData ( #1230 )
...
* Fixes JNI memory leak in CanvasRenderingContext2DImpl::fillData
* typo fix.
2018-05-08 10:56:48 +08:00
James Chen
b6a3153435
[android] Fix CanvasRenderingContext2D. Call fillData after recreateBuffer. System Font is displayed correctly on Android now.
2018-04-09 13:56:40 +08:00
James Chen
4397330777
[runtime, android] Fix local reference table overflow error problem in CCCanvasRenderingContext2D-android.cpp. ( #1180 )
2018-04-03 14:34:48 +08:00
James Chen
3c1da2db6c
alphabetic textBaseline support. ( #1173 )
2018-03-29 16:24:36 +08:00
James Chen
73eb73c690
[android] textAlign supports 'middle'. recreate buffer in the constructor of CanvasRenderingContext2D. ( #1172 )
...
* [android] textAlign supports 'middle'. recreate buffer in the constructor of CanvasRenderingContext2D.
* bug fix in CanvasRenderingContext2DImpl.java
* java version 1.8
2018-03-29 15:50:38 +08:00
James Chen
c341d94d1a
Adds missing function implementation. ( #1161 )
2018-03-22 16:16:10 +08:00
James Chen
c3602eb1e3
[runtime] Android testcase works. ( #1148 )
...
* Adds jsb_run_script_module for CommonJS module, reverts original `require`.
* Uses window.gameTick for sending tick event.
* Removes unused scripts.
* Android testcase works.
2018-03-15 18:12:38 +08:00
James Chen
2c3a86f7b1
[new-renderer] Label on android works. ( #1146 )
...
* Android HelloWorld without label works.
* Label on android works.
2018-03-14 21:19:51 +08:00
James Chen
f0a79242d7
Android compile ok. ( #1145 )
...
* Android compile ok.
* Fixes for Android build .
2018-03-14 10:28:03 +08:00