Configuration:
- PDF.js version: 2.0.550

Steps to reproduce the problem:
1. Render document in SVG mode `renderMode="svg"`

What is the expected behavior? (add screenshot)
Rendering annotations same way as they rendered on canvas

What went wrong? (add screenshot)
```
Warning: Unimplemented operator beginAnnotations
Warning: Unimplemented operator endAnnotations
```
0,
        width,
        height
      );
      fillCtx.globalCompositeOperation = "source-in";
      const inverse = Util.transform(fillCtx.mozCurrentTransformInverse, [
        1,
        0,
        0,
        1,
        -offsetX,
        -offsetY,
      ]);
      fillCtx.fillStyle = isPatternFill
        ? fillColor.getPattern(ctx, this, inverse, false)
        : fillColor;
      fillCtx.fillRect(0, 0, width, height);
      
      return {
        canvas: fillCanvas.canvas,
        offsetX: Math.round(offsetX),
        offsetY: Math.round(offsetY),
      };
    }
    
    setLineWidth(width) {
      this.current.lineWidth = width;
      this.ctx.lineWidth = width;
    }
    setLineCap(style) {