Hello,
I did as it was proposed, and it work. I still have some cases where
textures are a little off compared to the position where they should be,
but it might be due to the post-processing I perform after creating the awt
BufferedImage.
Compared to what I thought, there were not a lot of class
Some pie in the sky observations about the background here...
Note that there was a fine line there that had to be evaluated. Many of
the printing detection changes were basically just "Oh, look, I have a
new ResourceFactory now, that probably means new Textures", but it was
tempered with "On
Thanks for you two, I will try this tomorrow - I'm in France so it's late
now ;) Our project is Open Source, but this functionality is not central to
it, I will extract this on another Open Source project then after it's
done, this could be useful to other devs think.
Hervé
2014-11-14 0:15 GMT+0
Basically for printing we had to detect that we were printing and use a
non-cached texture.
If you look for references to "PrinterGraphics" you might find some of them.
Canvas is one place we had to deal with this. There are at least one or
two others.
Doing anything like only this via public AP
Thanks a lot, I did not think about that.
2014-11-13 23:49 GMT+01:00 Kevin Rushforth :
> You could take a look at what JavaFX internally does for printing, which
> is similar to what you are trying to do. It also forces the J2D pipeline
> and had to deal with this issue. You likely won't be able
You could take a look at what JavaFX internally does for printing, which
is similar to what you are trying to do. It also forces the J2D pipeline
and had to deal with this issue. You likely won't be able to do it
without modifying FX internals, though, which is what printing does in a
few place
Thanks, that's very interesting ! It may be what I need ! I will check it soon !
Hervé
Sent from my iPhone
On 7 juin 2013, at 15:55, "Alexandre (Shura) Iline"
wrote:
> Hi.
>
>
> FWIW, with JemmyFX you can do:
> new SceneDock().asParent().lookup().dump(System.out);
>
> What you get is (full
I've started working on a JavaFX-Scene to FXML dumper but its not yet
really useable.
Tom
On 07.06.13 14:34, Hervé Girod wrote:
Hello,
We are porting a swing application in JavaFX, and we had various unit tests
where we created for testing purposes a dummy Graphics2D which stored the list
o