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

StackOverflow https://stackoverflow.com/questions/7372524

  •  28-10-2019
  •  | 
  •  

سؤال

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.

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top