code: public void addTemplate(PdfTemplate template, float a, float b, float c, float d, float e, float f) {
          checkWriter();
          checkNoPattern(template);
          PdfName name = writer.addDirectTemplateSimple(template, null);
          PageResources prs = getPageResources();
          name = prs.addXObject(name, template.getIndirectReference());
          content.append("q ");
          content.append(a).append(' ');
          content.append(b).append(' ');
          content.append(c).append(' ');
          content.append(d).append(' ');
          content.append(e).append(' ');
          content.append(f).append(" cm ");
          content.append(name.getBytes()).append(" Do Q").append_i(separator);
      }
docs: Adds a template to this content.
  
  @param template the template
  @param a an element of the transformation matrix
  @param b an element of the transformation matrix
  @param c an element of the transformation matrix
  @param d an element of the transformation matrix
  @param e an element of the transformation matrix
  @param f an element of the transformation matrix