Is building the runtime manually still an option? If so, how would I go about
it? Are the relevant sources all merged into the Firefox repository?
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platfor
One more thing.
Is there a way to take screenshots of XUL panels with the above technique, as
well?
Since they're not part of the window's DOM they obviously don't show up on the
canvas either.
___
dev-platform mailing list
dev-platform@lists.mozilla
Spot on, Boris!
Not sure why I never tried wrapping it into a function call :head->wall:
Thanks for the help!
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform
Nope. That's definitely not the problem.
I guess I should've mentioned it earlier:
I'm running an old build of Xulrunner. Version 3.6.20, to be exact.
I'm running my code inside a fork of XULExplorer I created and 3.6.20 is the
latest I can go so far, without running into any issues.
Canvas2D
I'm not sure what exactly I'm doing wrong but neither drawWindow, nor
asyncDrawXULElement seem to work for me. Not even for screenshots of the whole
window.
"Borrowing" from capture.js/screenshot.js also made me none the wiser.
Is there something wrong with how I'm trying to copy the contents
Thanks for the pointers.
I've decided to try the basics first, rendering the whole window to the canvas.
Unfortunately, the result, as of yet, is an empty canvas with a white
background.
Anything I'm missing here?
http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
xmlns:html=
In case my OP isn't clear enough.
I'm basically looking for the XUL counterpart to WPF's/XAML's
RenderTargetBitmap, which enables the developer to render a selected UIElement
to a Pixelbuffer and save it as png, with full alpha blending support.
___
d
As part of my work on a prototyping suite I'd like to take screenshots
(preferably retaining the alpha channel) of single UI elements. I'd like to do
so on an onclick event.
Is there a straightforward way to accomplish this? Possibly with XPCOM or
js-ctypes?
8 matches
Mail list logo