clear() not working with reduced palette

The Dc.clear() function will properly blank a buffered bitmap reference with TRANSPARENT if the bitmap is using the system palette (no palette option used), but doesn't appear to do anything with a palette with two colors, such as GREEN and TRANSPARENT. Is this known to not work, or is this a bug with the simulator? This is with API 4.1.0 and SDK 4.1.7 on VS 1.74.2.

  • download psx-1 wf and check all progresses. if they look good, my code is correct and I use palette to reduce memory.

  • Might have an issue with the store:

    10,832 Results for "psx-1"

  • Ignoring the part where everything is too small to be legible, nothing is moving, you are just overlaying in the same place with a black background? Are you using transparency?

  • no, because target dc is cleaning before draw bitmap

    I've asked you if you want to use transparent background for special effects.

  • I didn't realize I didn't already make that clear, but yes to "special effects". I took a short video of my watchface design in action, I'll need to figure out a way to make it available so everyone can see what is happening.

  • so

    - target dc has a drawing

    - bitmap is clearing with transparent colour - IT'S EMPTY

    -drawing on bitmap - all  pixel outside of polygon are transparent

    -dc.drawBitmap and of course if transparent pixel from bitmap meet previous drawing you see ... previous drawing

  • Problem is at step two. Bitmap is clearing with transparent color. EMPTY if no palette, NOT EMPTY with palette. I'm trying to upload a video but it's saying unsupported MIME type.

  • Watch the heart on the watch face. It moves in an arc along the edge as the rate changes. You can see it cover the fish (for fishing time based on high tide shown just past noon) then as it goes down a little it slowly uncovers the fish. As long as there is no palette it works as you see. If I have a palette with just red then it smudges as it moves.