Graphics in itself is just some abstract Class. How does calling g.drawImage(Image img, tx, null)
or something like that actually draw to the window? I looked a bit and I got that maybe something is going on in an instance of java.awt.Component
? Is that right? I don't know.
My main reason is I want to make my own Graphics
context called Graphics3D
. My rasterizer will utilize this, and then from a Graphics3D
context you can draw and manipulate 3D objects. Even if I could just inherit Graphics
into my Rasterizer
, I wouldn't know what to do.