Hello,
I am having problems with the drawPixels method in DirectGraphics on my series40 emulator/phone (6800). The Nokia UI API Programmer's Guide states that all phones support the TYPE_BYTE_1_GRAY_VERTICAL pixel format but that doesn't seem to be true. I get IllegalArgumentException when using the test method createInvertedImage supplied in the document. It works fine on the series60 emulator though. Is there a list somewhere of what pixel formats (except the native one) that are supported in series40 phones?
My original problem is rendering pages of text with a reasonable speed that makes scrolling possible. Since the drawString method is slow and the drawImage method is fast (at least in comparison) I want to "pre-render" my text to an image and use the image when srolling. This is however very expensive and therefore I want to use a cheaper pixel format (1 bit) for storing the image but no cheaper formats than the native seem to be available.
Would really appreciate help on this.

Reply With Quote
)


