Pergunta

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 will wait your answers.

Foi útil?

Solução

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.

Outras dicas

Canvas fulfills the role of java Graphics(2D) or Windows CDC. Canvas.setBitmap would seem a good guess to output an image.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top