(self, s)
| 1189 | } |
| 1190 | |
| 1191 | def _escape(self, s): |
| 1192 | if isinstance(s, basestring): |
| 1193 | return "\"%s\"" % s.replace("\"", "\\\"") |
| 1194 | return s |
| 1195 | |
| 1196 | def _rgba(self, clr): |
| 1197 | # Color or tuple to a CSS "rgba(255,255,255,1.0)" string. |
no outgoing calls