Try with
return
conte...@com.google.gwt.canvas.dom.client.Context2d::webkitBackingStorePixelRatio;
but I don't think it will ever work.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
no,
com.google.gwt.canvas.dom.client.Context2d is a JavaScriptObject so just treat
it as a javascript object not as a java object in jsni code. .
On Sunday, November 25, 2012 9:30:46 AM UTC-2, Andrea Boscolo wrote:
Try with
return
Hi,
I'm using Canvas, I need to get a property from the context:
context.webkitBackingStorePixelRatio;
I'm not sure how to make a jsni function to do this (this property does not
seem to have a wrapper already in the gwt Context2d class):
// How do we define this function and pass in
that should work... What is the result ?
On Saturday, November 24, 2012 1:05:28 PM UTC-2, markww wrote:
Hi,
I'm using Canvas, I need to get a property from the context:
context.webkitBackingStorePixelRatio;
I'm not sure how to make a jsni function to do this (this property does
not