开发者

A code that draw image using the C++'s CDC can use as the same in Java?

开发者 https://www.devze.com 2023-04-04 03:49 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消