A code that draw image using the C++'s CDC can use as the same in Java?
I have some codes that draw image using c++'s CDC. Now I am trying to use those codes as it is to draw image in java canvas. Is this really possible or impossible? I 开发者_如何学Pythonwill wait your answers.
I think that you can't use the c++ codes as it is in the android phone. Because android phone's is based on linux, but c++ is not. so the between the different systems, can't transform.
Canvas fulfills the role of java Graphics(2D) or Windows CDC. Canvas.setBitmap would seem a good guess to output an image.
精彩评论