Hi all,
I am trying to change color of an svg resource that I can successfully draw with dc.drawBitmap() function but I can't find a way to change its color.
Is that possible without using fonts? Unfortunately I do have a Mac (and no opportunity to have a Windows PC in my hand) and I have not found a solution to create a bmfont.
My drawables.xml has the following line:
<bitmap id="HeartIcon" filename="heart.svg" dithering="none" scaleX="7%" scaleY="7%">
And my component draws the bitmap in this way:
dc.drawBitmap(
0,
0,
WatchUi.loadResource(Rez.Drawables.HeartIcon)
);
That's working properly but calling dc.setColor() before those lines has no effect.
Any other ideas?
Thanks!