I am running the base famous app with the following code inside of Cordova 3.4.x var mainContext = Engine.createContext();
var logo = new ImageSurface({
size: [200, 200],
content: 'img/famous_logo.png',
classes: ['backfaceVisibility']
});
var centerSpinModifier = new Modifier({
origin: [0.5, 0.5]
});
mainContext.add(centerSpinModifier).add(logo);
For some reason setting the origin to [0.5,0.5]
places the surface too high up. Is this a bug or do I need to redefine the origin somehow?