Examples of SetLineWidth


Examples of org.apache.pdfbox.contentstream.operator.state.SetLineWidth

        addOperator(new SetTextRenderingMode());
        addOperator(new SetTextRise());
        addOperator(new SetWordSpacing());
        addOperator(new SetTextHorizontalScaling());
        addOperator(new CurveToReplicateInitialPoint());
        addOperator(new SetLineWidth());
        addOperator(new ClipNonZeroRule());
        addOperator(new ClipEvenOddRule());
        addOperator(new CurveToReplicateFinalPoint());
        addOperator(new ShowTextLine());
        addOperator(new ShowTextLineAndSpace());
View Full Code Here

Examples of org.apache.pdfbox.contentstream.operator.state.SetLineWidth

        this.context = _context;
        this.cosDocument = _context.getDocument().getDocument();
        this.processeedPage = _page;

        // Graphics operators
        addOperator(new SetLineWidth());
        addOperator(new Concatenate());

        addOperator(new SetStrokingColorSpace());
        addOperator(new SetNonStrokingColorSpace());
        addOperator(new SetLineDashPattern());
View Full Code Here

Examples of org.apache.pdfbox.util.operator.SetLineWidth

        this.context = _context;
        this.cosDocument = _context.getDocument().getDocument();
        this.processeedPage = _page;

        // Graphics operators
        registerOperatorProcessor("w", new SetLineWidth());
        registerOperatorProcessor("cm", new Concatenate());

        registerOperatorProcessor("CS", new SetStrokingColorSpace());
        registerOperatorProcessor("cs", new SetNonStrokingColorSpace());
        registerOperatorProcessor("d", new SetLineDashPattern());
View Full Code Here

Examples of org.apache.pdfbox.util.operator.SetLineWidth

  public ContentStreamEngine(DocumentHandler _handler) {
    this.documentHandler = _handler;

    // ---- Graphics operators
    registerOperatorProcessor("w", new SetLineWidth());
    registerOperatorProcessor("cm", new Concatenate());

    registerOperatorProcessor("CS", new SetStrokingColorSpace());
    registerOperatorProcessor("cs", new SetNonStrokingColorSpace());
    registerOperatorProcessor("d", new SetLineDashPattern());
View Full Code Here

Examples of org.apache.pdfbox.util.operator.SetLineWidth

        this.context = _context;
        this.cosDocument = _context.getDocument().getDocument();
        this.processeedPage = _page;

        // Graphics operators
        registerOperatorProcessor("w", new SetLineWidth());
        registerOperatorProcessor("cm", new Concatenate());

        registerOperatorProcessor("CS", new SetStrokingColorSpace());
        registerOperatorProcessor("cs", new SetNonStrokingColorSpace());
        registerOperatorProcessor("d", new SetLineDashPattern());
View Full Code Here

Examples of org.pdfclown.documents.contents.objects.SetLineWidth

    Sets the line width [PDF:1.6:4.3.2].
  */
  public void setLineWidth(
    float value
    )
  {add(new SetLineWidth(value));}
View Full Code Here

Examples of org.pdfclown.documents.contents.objects.SetLineWidth

    // 2. Content tweaking.
    for(Page page : document.getPages())
    {
      // Get the page contents!
      Contents contents = page.getContents();
      contents.add(0,new SetLineWidth(10)); // Forces the override of line width's initial value (1.0) [PDF:1.6:4.3] setting it at 10 user-space units.
      for(ContentObject obj : contents)
      {normalizeLineWidth(obj);}
      // Update the page contents!
      contents.flush();
    }
View Full Code Here

Examples of org.pdfclown.documents.contents.objects.SetLineWidth

    ContentObject content
    )
  {
    if(content instanceof SetLineWidth)
    {
      SetLineWidth setLineWidth = (SetLineWidth)content;
      // Force lines under 10 user-space units to be set to 10!
      if(setLineWidth.getValue() < 10)
      {setLineWidth.setValue(10);}
    }
    else if(content instanceof CompositeObject)
    {
      List<ContentObject> objects = ((CompositeObject)content).getObjects();
      for(ContentObject obj : objects)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.