Questions tagged [graphicscontext]
64 questions
0
votes
2 answers
Use GC (X11 graphics context) in another process
Is it possible to pass GC from process1 to process2 and use it there (I need to update clipping region)?
I've tried to pass GC via window property. But I've got SEGFAULT on XSetRegion call on that GC.

Sergey Podobry
- 7,101
- 1
- 41
- 51
-1
votes
1 answer
How clear rect in GraphicsContext of SwifUI
In My example, I draw a rect use GraphicsContext.
Canvas { context, size in
context.fill(
Path(CGRect(
x: 0,
y: 0,
width: 300,
height: 200
)),
with:…

雨夜带刀
- 3
- 1
-1
votes
2 answers
I cannot get JavaFX GraphicsContext strokeText() to display monospaced fonts right
Question: I would like for the GraphicContext object to stroke the text in a monospaced font. How can this be achieved?
Problem: I am using JavaFX. I have a Canvas object and a GrahpicsContext object. I want to use GraphicsContext's strokeText()…

Hohkalaama
- 3
- 3
-4
votes
1 answer
Does anyone know if raster operations are possible on a JavaFX Canvas graphics context?
This seems like a terrible oversight. In fact, I cannot continue development without a solution. I know it's possible to draw offscreen and transfer the image but I have a background on the canvas that I really cannot affect.
Thanks for any…

Eric
- 1