1
edit
Changes
no edit summary
== Project Name ==
Porting pushStyle(), popStyle(), boolean(), and booleanstrokeCap() to Processing.js
== Project Description ==
[http://processingjs.org/ Processing.js] remains incomplete as a port of [http://processing.org/ Processing]. Among the features still to be implemented are the functions [http://processing.org/reference/pushStyle_.html ''pushStyle()''], [http://processing.org/reference/popStyle_.html ''popStyle()''], and [http://processing.org/reference/boolean_.html ''boolean()''], and [http://processing.org/reference/strokeCap_.html ''strokeCap()'']. The first two functions automatically save style information for later retrieval and reuse. The last ''boolean()'' "converts" arguments into a boolean value. ''strokeCap()'' determines how the ends of lines are rendered.
== Resources ==
== Project Details ==
===pushStyle() and popStyle()===
*The number of states saved is tracked by ''pushedStates''.*''pushStyle()'' calls ''curContext.save()'' and increments ''pushedStates'' by one.*Excess pops are ignored.
====Related Mozilla bugs====