(path)
| 1878 | /*--- CLIPPING PATH --------------------------------------------------------------------------------*/ |
| 1879 | |
| 1880 | function beginclip(path) { |
| 1881 | /* Enables the given Path as a clipping mask. |
| 1882 | Drawing commands between beginclip() and endclip() are constrained to the shape of the path. |
| 1883 | */ |
| 1884 | push(); |
| 1885 | path._clip = true; |
| 1886 | drawpath(path); |
| 1887 | path._clip = false; |
| 1888 | } |
| 1889 | |
| 1890 | function endclip() { |
| 1891 | pop(); |