(ctx, color, alpha, forced_alpha)
| 36 | |
| 37 | |
| 38 | def _set_rgba(ctx, color, alpha, forced_alpha): |
| 39 | if len(color) == 3 or forced_alpha: |
| 40 | ctx.set_source_rgba(*color[:3], alpha) |
| 41 | else: |
| 42 | ctx.set_source_rgba(*color) |
| 43 | |
| 44 | |
| 45 | def _append_path(ctx, path, transform, clip=None): |
no outgoing calls
no test coverage detected
searching dependent graphs…