-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JBR API v0.0.8 - add GraphicsUtils #208
Conversation
src/java.desktop/share/classes/com/jetbrains/desktop/JBRGraphicsUtil.java
Outdated
Show resolved
Hide resolved
src/java.desktop/share/classes/sun/awt/ConstrainableGraphics2.java
Outdated
Show resolved
Hide resolved
src/jetbrains.api/src/com/jetbrains/JbrApiConstrainableGraphics2.java
Outdated
Show resolved
Hide resolved
d9ceb91
to
6fff07f
Compare
I'd propose to change the constraint-related methods in
This allows to get the dimensions of the constraining region, for symmetry, along with its location. And using floating-point coordinates will allow to add support for HiDPI cases in future, if needed, without extending the interface. |
Actually, using floating point coordinates only makes sense if coordinates are given in user space. |
6fff07f
to
c8cc2dc
Compare
e11cf27
to
6e6d3c5
Compare
c8cc2dc
to
81b55d6
Compare
81b55d6
to
7915019
Compare
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
* relax type constraints in BltBufferStrategy.getDrawGraphics (cherry picked from commit 715b615)
The first attempt was done in #188, and was declined.
https://youtrack.jetbrains.com/issue/JBR-5213/Allow-custom-Graphics2D-in-a-double-buffered-rendering-pipeline