// tested by // X:\jsc.svn\examples\javascript\HulaGirl\HulaGirl\Library\HulaGirl.cs // X:\jsc.svn\examples\javascript\async\AsyncImageTask\AsyncImageTask\Application.cs public static TaskAwaiter <IHTMLImage> GetAwaiter(this IHTMLImage i) { var y = new TaskCompletionSource <IHTMLImage>(); i.InvokeOnComplete(y.SetResult); return(y.Task.GetAwaiter()); }
static internal IHTMLImage InternalConstructor(int width, int height) { var i = new IHTMLImage { }; i.style.SetSize(width, height); return(i); }
// X:\jsc.svn\examples\javascript\synergy\css\CSSStereoCubeMap\CSSStereoCubeMap\Application.cs public void drawImage(IHTMLImage image, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh) { }