Page 1 of 1

HTML5 Canvas shadows

Posted: 15 Feb 2014, 19:24
by donjames
Is there a way using the C++ API to set shadows settings like HTML5 Canvas shadows :
http://www.w3.org/TR/2dcontext/#shadows

Re: HTML5 Canvas shadows

Posted: 17 Feb 2014, 10:34
by jsantos
Effects are yet not implemented. You have to hack it by rendering the text twice. Or you can render text with stroke, although it is not exactly the same effect as shadowing.