Hi Zhen,
please use Syntaxhighlighter tool when posting a code. It's so displeasing to read unformatted and not colored code :-(
My guess is that you have to use mdlElmdscr_addFill function to set an element as filled. I am not sure if mdlElement_setFillColor does it also, my assumption is that it set the color only, but not set filling attribute.
With regards,
Jan
please use Syntaxhighlighter tool when posting a code. It's so displeasing to read unformatted and not colored code :-(
My guess is that you have to use mdlElmdscr_addFill function to set an element as filled. I am not sure if mdlElement_setFillColor does it also, my assumption is that it set the color only, but not set filling attribute.
With regards,
Jan