parallax/jsPDF

Context2D does not implement clip() correctly

オープン

#3,408 opened on 2022/04/09

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (4,596 件のフォーク)batch import
Feature Requestdifficulty:mediumhelp wanted

Repository metrics

Stars
 (28,280 個のスター)
PR merge metrics
 (PR metrics pending)

説明

clip() is supposed to take an argument to specify the clipping rule. Context2D drops this argument on the floor and implements the default clipping rule, I guess.

It can also be given two arguments where one argument is the path. This is also not implemented.

https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip

コントリビューターガイド