mirror of https://github.com/axmolengine/axmol.git
323ea7c0d4
* Adds slice9 support for Sprite. how to use it: // points coords sprite->setCenterRect(Rect(x,y,w,h)); // normalized coords sprite->setCenterRectNormalized(Rect(x,y,w,h)); starts scale9sprite in sprite more slice 9 changes sprite 9 slice works? kind of works correct anchor point slice 9 works, at least with non-rotated atlases streched works ok better Y invert code. cleaner, compatible with the previous code yay, scaling workings... need a better api now sets scale correctly yay! works as expected! more fixes and tests better test for box setContentSize() changes size in non-9-slice mode sprites as well setCenterRect() -> setCenterRectNormalized() yet another test adds setPositionNormalized() adds setCenterRect() tests remove devel team from xcode tests: add one more tests fun test! improved test yet another test for slice 9 * fixes anchorPoint issues * adds documentation * fix: using top-left coordinate for setRect * sprite: fixes related to scale9 and tiled * Sprite: slice 9 fixes works Ok with rotated frames uses `setCapInsets` instead of `setCenterRect` to be more familiar with `UIScale9Sprite` * fixes js and lua bindings for Autopolygon |
||
---|---|---|
.. | ||
3d | ||
chipmunk | ||
cocosbuilder | ||
cocostudio | ||
component | ||
experimental | ||
extension | ||
localstorage | ||
navmesh | ||
network | ||
physics3d | ||
platform | ||
spine | ||
ui | ||
ScriptingCore.cpp | ||
ScriptingCore.h | ||
cocos2d_specifics.cpp | ||
cocos2d_specifics.hpp | ||
js-BindingsExport.h | ||
js_bindings_config.h | ||
js_bindings_core.cpp | ||
js_bindings_core.h | ||
js_bindings_opengl.cpp | ||
js_bindings_opengl.h | ||
js_manual_conversions.cpp | ||
js_manual_conversions.h | ||
js_module_register.cpp | ||
js_module_register.h | ||
jsb_event_dispatcher_manual.cpp | ||
jsb_event_dispatcher_manual.h | ||
jsb_helper.h | ||
jsb_opengl_functions.cpp | ||
jsb_opengl_functions.h | ||
jsb_opengl_manual.cpp | ||
jsb_opengl_manual.h | ||
jsb_opengl_registration.cpp | ||
jsb_opengl_registration.h | ||
spidermonkey_specifics.h |