Documentation ¶
Index ¶
- type PDFlib
- func (p *PDFlib) AddNamedDest(name, options string) error
- func (p *PDFlib) AddPathPoint(path int, x, y float64, kind, options string) (int, error)
- func (p *PDFlib) AddTableCell(table, col, row int, text, options string) (int, error)
- func (p *PDFlib) AddTextflow(textflow int, text, options string) (int, error)
- func (p *PDFlib) AddThumbnail(image int) error
- func (p *PDFlib) Align(x, y float64) error
- func (p *PDFlib) Arc(x, y, r, alpha, beta float64) error
- func (p *PDFlib) Arcn(x, y, r, alpha, beta float64) error
- func (p *PDFlib) BeginDocument(filename, options string) (int, error)
- func (p *PDFlib) BeginFont(fontname string, a, b, c, d, e, f float64, options string) error
- func (p *PDFlib) BeginGlyph(glyphname string, wx, llx, lly, urx, ury float64) error
- func (p *PDFlib) BeginItem(tag, options string) (int, error)
- func (p *PDFlib) BeginLayer(layer int) error
- func (p *PDFlib) BeginPageExt(w, h float64, options string) error
- func (p *PDFlib) BeginPattern(w, h, xstep, ystep float64, painttype int) (int, error)
- func (p *PDFlib) BeginTemplate(w, h float64, options string) (int, error)
- func (p *PDFlib) Circle(x, y, r float64) error
- func (p *PDFlib) CircularArc(x1, y1, x2, y2 float64) error
- func (p *PDFlib) Clip() error
- func (p *PDFlib) CloseFont(font int) error
- func (p *PDFlib) CloseGraphics(graphics int) error
- func (p *PDFlib) CloseImage(image int) error
- func (p *PDFlib) ClosePath() error
- func (p *PDFlib) ClosePathFillStroke() error
- func (p *PDFlib) ClosePathStroke() error
- func (p *PDFlib) ClosePdiDocument(doc int) error
- func (p *PDFlib) ClosePdiPage(page int) error
- func (p *PDFlib) Concat(a, b, c, d, e, f float64) error
- func (p *PDFlib) ContinueText(text string) error
- func (p *PDFlib) Create3dView(username, options string) error
- func (p *PDFlib) CreateAction(kind, options string) (int, error)
- func (p *PDFlib) CreateAnnotation(llx, llr, urx, ury float64, kind, options string) error
- func (p *PDFlib) CreateBookmark(text, options string) (int, error)
- func (p *PDFlib) CreateField(llx, lly, urx, ury float64, name, kind, options string) error
- func (p *PDFlib) CreateFieldgroup(name, options string) error
- func (p *PDFlib) CreateGstate(options string) (int, error)
- func (p *PDFlib) CreatePvf(filename string, data []byte, options string) error
- func (p *PDFlib) CreateTextflow(text, options string) (int, error)
- func (p *PDFlib) CurveTo(x1, y1, x2, y2, x3, y3 float64) error
- func (p *PDFlib) DefineLayer(name, options string) (int, error)
- func (p *PDFlib) Delete()
- func (p *PDFlib) DeletePath(path int) error
- func (p *PDFlib) DeletePvf(filename string) error
- func (p *PDFlib) DeleteTable(table int, options string) error
- func (p *PDFlib) DeleteTextflow(textflow int) error
- func (p *PDFlib) DrawPath(path int, x, y float64, options string) error
- func (p *PDFlib) Ellipse(x, y, rx, ry float64) error
- func (p *PDFlib) EndDocument(options string) error
- func (p *PDFlib) EndFont() error
- func (p *PDFlib) EndGlyph() error
- func (p *PDFlib) EndItem(id int) error
- func (p *PDFlib) EndLayer() error
- func (p *PDFlib) EndMc() error
- func (p *PDFlib) EndPageExt(options string) error
- func (p *PDFlib) EndPath() error
- func (p *PDFlib) EndPattern() error
- func (p *PDFlib) EndTemplateExt(w, h float64) error
- func (p *PDFlib) Fill() error
- func (p *PDFlib) FillImageblock(page int, blockname string, image int, options string) (int, error)
- func (p *PDFlib) FillPdfblock(page int, blockname string, content int, options string) (int, error)
- func (p *PDFlib) FillStroke() error
- func (p *PDFlib) FillTextblock(page int, blockname, text, options string) (int, error)
- func (p *PDFlib) FitGraphics(graphics int, x, y float64, options string) error
- func (p *PDFlib) FitImage(image int, x, y float64, options string) error
- func (p *PDFlib) FitPdiPage(page int, x, y float64, options string) error
- func (p *PDFlib) FitTable(table int, llx, lly, urx, ury float64, options string) (string, error)
- func (p *PDFlib) FitTextflow(textflow int, llx, lly, urx, ury float64, options string) (string, error)
- func (p *PDFlib) FitTextline(text string, x, y float64, options string) error
- func (p *PDFlib) GetBuffer() ([]byte, int, error)
- func (p *PDFlib) GetParameter(key string, modifier float64) (string, error)
- func (p *PDFlib) GetValue(key string, modifier float64) (float64, error)
- func (p *PDFlib) InfoFont(font int, keyword, options string) (float64, error)
- func (p *PDFlib) InfoGraphics(graphics int, keyword, options string) (float64, error)
- func (p *PDFlib) InfoImage(image int, keyword, options string) (float64, error)
- func (p *PDFlib) InfoMatchbox(boxname string, num int, keyword string) (float64, error)
- func (p *PDFlib) InfoPath(path int, keyword, options string) (float64, error)
- func (p *PDFlib) InfoPdiPage(page int, keyword, options string) (float64, error)
- func (p *PDFlib) InfoTable(table int, keyword string) (float64, error)
- func (p *PDFlib) InfoTextflow(textflow int, keyword string) (float64, error)
- func (p *PDFlib) InfoTextline(text, keyword, options string) (float64, error)
- func (p *PDFlib) InitGraphics() error
- func (p *PDFlib) LineTo(x, y float64) error
- func (p *PDFlib) Load3dData(filename, options string) (int, error)
- func (p *PDFlib) LoadFont(fontname, encoding, options string) (int, error)
- func (p *PDFlib) LoadGraphics(graphicstype, filename, options string) (int, error)
- func (p *PDFlib) LoadIccProfile(profilename, options string) (int, error)
- func (p *PDFlib) LoadImage(imagetype, filename, options string) (int, error)
- func (p *PDFlib) MakeSpotColor(spotname string) (int, error)
- func (p *PDFlib) McPoint(tag, options string) error
- func (p *PDFlib) MoveTo(x, y float64) error
- func (p *PDFlib) OpenPdiDocument(filename, options string) (int, error)
- func (p *PDFlib) OpenPdiPage(doc, page int, options string) (int, error)
- func (p *PDFlib) PcosGetNumber(doc int, path string) (float64, error)
- func (p *PDFlib) PcosGetStream(doc int, options, path string) (string, error)
- func (p *PDFlib) PcosGetString(doc int, path string) (string, error)
- func (p *PDFlib) PocaDelete(container int, options string) error
- func (p *PDFlib) PocaInsert(container int, options string) error
- func (p *PDFlib) PocaNew(options string) (int, error)
- func (p *PDFlib) PocaRemove(container int, options string) error
- func (p *PDFlib) ProcessPdi(doc, page int, options string) (int, error)
- func (p *PDFlib) RCurveTo(x1, y1, x2, y2, x3, y3 float64) error
- func (p *PDFlib) Rect(x, y, w, h float64) error
- func (p *PDFlib) Restore() error
- func (p *PDFlib) ResumePage(options string) error
- func (p *PDFlib) Rotate(phi float64) error
- func (p *PDFlib) Save() error
- func (p *PDFlib) Scale(sx, sy float64) error
- func (p *PDFlib) SetColor(fstype, colorspace string, c1, c2, c3, c4 float64) error
- func (p *PDFlib) SetDash(b, w float64) error
- func (p *PDFlib) SetDashPattern(options string) error
- func (p *PDFlib) SetFlat(flatness float64) error
- func (p *PDFlib) SetFont(font int, fontsize float64) error
- func (p *PDFlib) SetGraphicsOption(options string) error
- func (p *PDFlib) SetGstate(gstate int) error
- func (p *PDFlib) SetInfo(key, value string) error
- func (p *PDFlib) SetLayerDependency(kind, options string) error
- func (p *PDFlib) SetLinecap(linecap int) error
- func (p *PDFlib) SetLinejoin(linejoin int) error
- func (p *PDFlib) SetLinewidth(width float64) error
- func (p *PDFlib) SetMatrix(a, b, c, d, e, f float64) error
- func (p *PDFlib) SetMiterLimit(miter float64) error
- func (p *PDFlib) SetOption(options string) error
- func (p *PDFlib) SetParameter(key, value string) error
- func (p *PDFlib) SetTextPos(x, y float64) error
- func (p *PDFlib) SetValue(key string, value float64) error
- func (p *PDFlib) Shading(shtype string, x0, y0, x1, y1, c1, c2, c3, c4 float64, options string) (int, error)
- func (p *PDFlib) ShadingPattern(shading int, options string) (int, error)
- func (p *PDFlib) Shfill(shading int) error
- func (p *PDFlib) Show(text string) error
- func (p *PDFlib) ShowXY(text string, x, y float64) error
- func (p *PDFlib) Skew(alpha, beta float64) error
- func (p *PDFlib) StringWidth(text string, font int, fontsize float64) (float64, error)
- func (p *PDFlib) Stroke() error
- func (p *PDFlib) SuspendPage(options string) error
- func (p *PDFlib) Translate(tx, ty float64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PDFlib ¶
type PDFlib struct {
// contains filtered or unexported fields
}
PDFlib represents a PDFlib instance.
func (*PDFlib) AddNamedDest ¶
AddNamedDest ...
func (*PDFlib) AddPathPoint ¶
AddPathPoint ...
func (*PDFlib) AddTableCell ¶
AddTableCell ...
func (*PDFlib) AddTextflow ¶
AddTextflow ...
func (*PDFlib) BeginDocument ¶
BeginDocument ...
func (*PDFlib) BeginGlyph ¶
BeginGlyph ...
func (*PDFlib) BeginPageExt ¶
BeginPageExt adds a new page to the document, and specify various options.
func (*PDFlib) BeginPattern ¶
BeginPattern ..
func (*PDFlib) BeginTemplate ¶
BeginTemplate ...
func (*PDFlib) CircularArc ¶
CircularArc ...
func (*PDFlib) CloseFont ¶
CloseFont closes an open font handle which has not yet been used in the document.
func (*PDFlib) CloseGraphics ¶
CloseGraphics closes vector graphics.
func (*PDFlib) CloseImage ¶
CloseImage closes an image ...
func (*PDFlib) ClosePathFillStroke ¶
ClosePathFillStroke ...
func (*PDFlib) ClosePdiDocument ¶
ClosePdiDocument ...
func (*PDFlib) Create3dView ¶
Create3dView ...
func (*PDFlib) CreateAction ¶
CreateAction ...
func (*PDFlib) CreateAnnotation ¶
CreateAnnotation ...
func (*PDFlib) CreateBookmark ¶
CreateBookmark ...
func (*PDFlib) CreateField ¶
CreateField ...
func (*PDFlib) CreateFieldgroup ¶
CreateFieldgroup ...
func (*PDFlib) CreateGstate ¶
CreateGstate ...
func (*PDFlib) CreateTextflow ¶
CreateTextflow ...
func (*PDFlib) DefineLayer ¶
DefineLayer ...
func (*PDFlib) DeleteTable ¶
DeleteTable ...
func (*PDFlib) DeleteTextflow ¶
DeleteTextflow ...
func (*PDFlib) EndTemplateExt ¶
EndTemplateExt ...
func (*PDFlib) FillImageblock ¶
FillImageblock ...
func (*PDFlib) FillPdfblock ¶
FillPdfblock ...
func (*PDFlib) FillTextblock ¶
FillTextblock ...
func (*PDFlib) FitGraphics ¶
FitGraphics places vector graphics on a content stream, subject to various options.
func (*PDFlib) FitPdiPage ¶
FitPdiPage ...
func (*PDFlib) FitTextflow ¶
func (p *PDFlib) FitTextflow(textflow int, llx, lly, urx, ury float64, options string) (string, error)
FitTextflow ...
func (*PDFlib) FitTextline ¶
FitTextline ...
func (*PDFlib) GetParameter ¶
GetParameter ...
func (*PDFlib) InfoGraphics ¶
InfoGraphics formats vector graphics and query metrics and other properties.
func (*PDFlib) InfoMatchbox ¶
InfoMatchbox ...
func (*PDFlib) InfoPdiPage ¶
InfoPdiPage ...
func (*PDFlib) InfoTextflow ¶
InfoTextflow ...
func (*PDFlib) InfoTextline ¶
InfoTextline ...
func (*PDFlib) Load3dData ¶
Load3dData ...
func (*PDFlib) LoadGraphics ¶
LoadGraphics opens a disk-based or virtual vector graphics file subject to various options
func (*PDFlib) LoadIccProfile ¶
LoadIccProfile ...
func (*PDFlib) MakeSpotColor ¶
MakeSpotColor ...
func (*PDFlib) OpenPdiDocument ¶
OpenPdiDocument ...
func (*PDFlib) OpenPdiPage ¶
OpenPdiPage ...
func (*PDFlib) PcosGetNumber ¶
PcosGetNumber ...
func (*PDFlib) PcosGetStream ¶
PcosGetStream ...
func (*PDFlib) PcosGetString ¶
PcosGetString ...
func (*PDFlib) PocaDelete ¶
PocaDelete ...
func (*PDFlib) PocaInsert ¶
PocaInsert ...
func (*PDFlib) PocaRemove ¶
PocaRemove ...
func (*PDFlib) ProcessPdi ¶
ProcessPdi ...
func (*PDFlib) SetDashPattern ¶
SetDashPattern ...
func (*PDFlib) SetGraphicsOption ¶
SetGraphicsOption sets one or more graphics appearance options.
func (*PDFlib) SetLayerDependency ¶
SetLayerDependency ...
func (*PDFlib) SetMiterLimit ¶
SetMiterLimit ...
func (*PDFlib) SetParameter ¶
SetParameter ...
func (*PDFlib) Shading ¶
func (p *PDFlib) Shading(shtype string, x0, y0, x1, y1, c1, c2, c3, c4 float64, options string) (int, error)
Shading ...
func (*PDFlib) ShadingPattern ¶
ShadingPattern ...
func (*PDFlib) StringWidth ¶
StringWidth ...