donjames
Topic Author
Posts: 25
Joined: 27 May 2013, 16:35

HTML5 Canvas shadows

15 Feb 2014, 19:24

Is there a way using the C++ API to set shadows settings like HTML5 Canvas shadows :
http://www.w3.org/TR/2dcontext/#shadows
 
User avatar
jsantos
Site Admin
Posts: 2959
Joined: 20 Jan 2012, 17:18
Contact:

Re: HTML5 Canvas shadows

17 Feb 2014, 10:34

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.

Who is online

Users browsing this forum: No registered users and 8 guests