The new fields report screen.width+screen.height and element.innerWidth+element.innerHeight, which I suppose are in CSS pixels.
2014-02-27 5:53 GMT+02:00 Mark Callow <[email protected]>: > On 2014/02/26 19:22, Jukka Jylänki wrote: > > This is a good feature request, thanks! > > I've implemented new fields to EmscriptenFullscreenChangeEvent structure > that report the pixel sizes of the target element and the pixel size of the > whole screen in the event handler. See this pull request: > https://github.com/kripken/emscripten/pull/2165 . > > Do these report CSS pixels, device pixels or both? > > Regards > > -Mark > -- > 注意:この電子メールには、株式会社エイチアイの機密情報が含まれている場合が有ります。正式なメール受信者では無い場合はメール複製、 > 再配信または情報の使用を固く禁じております。エラー、手違いでこのメールを受け取られましたら削除を行い配信者にご連絡をお願いいたし ます. > > NOTE: This electronic mail message may contain confidential and privileged > information from HI Corporation. If you are not the intended recipient, any > disclosure, photocopying, distribution or use of the contents of the > received information is prohibited. If you have received this e-mail in > error, please notify the sender immediately and permanently delete this > message and all related copies. > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
