public virtual void Invoke(PdfContentStreamProcessor processor, PdfLiteral oper, List<PdfObject> operands) { processor.ModifyPath(PathConstructionRenderInfo.CLOSE, null); }
public virtual void Invoke(PdfContentStreamProcessor processor, PdfLiteral oper, List<PdfObject> operands) { float x = ((PdfNumber) operands[0]).FloatValue; float y = ((PdfNumber) operands[1]).FloatValue; float w = ((PdfNumber) operands[2]).FloatValue; float h = ((PdfNumber) operands[3]).FloatValue; processor.ModifyPath(PathConstructionRenderInfo.RECT, new List<float>(new float[] {x, y, w, h})); }
public virtual void Invoke(PdfContentStreamProcessor processor, PdfLiteral oper, List<PdfObject> operands) { float x1 = ((PdfNumber) operands[0]).FloatValue; float y1 = ((PdfNumber) operands[1]).FloatValue; float x3 = ((PdfNumber) operands[2]).FloatValue; float y3 = ((PdfNumber) operands[3]).FloatValue; processor.ModifyPath(PathConstructionRenderInfo.CURVE_13, new List<float>(new float[] {x1, y1, x3, y3})); }