Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExitCodePdfiumUnknownError = 1 ExitCodePdfiumFileError = 2 ExitCodePdfiumBadFileError = 3 ExitCodePdfiumPasswordError = 4 ExitCodePdfiumSecurityError = 5 ExitCodePdfiumPageError = 6 ExitCodePdfiumError = 7 ExitCodeInvalidArguments = 8 ExitCodeInvalidInput = 9 ExitCodeInvalidOutput = 10 ExitCodeInvalidPageRange = 11 ExitCodeExperimental = 12 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BGR ¶ added in v0.1.0
type BGR struct { // Pix holds the image's pixels, in B, G, R order. The pixel at // (x, y) starts at Pix[(y-Rect.Min.Y)*Stride + (x-Rect.Min.X)*3]. Pix []uint8 // Stride is the Pix stride (in bytes) between vertically adjacent pixels. Stride int // Rect is the image's bounds. Rect image.Rectangle }
BGR is an in-memory image whose At method returns color.RGBA values.
func (*BGR) ColorModel ¶ added in v0.1.0
type BGRA ¶ added in v0.1.0
type BGRA struct { // Pix holds the image's pixels, in B, G, R, A order. The pixel at // (x, y) starts at Pix[(y-Rect.Min.Y)*Stride + (x-Rect.Min.X)*4]. Pix []uint8 // Stride is the Pix stride (in bytes) between vertically adjacent pixels. Stride int // Rect is the image's bounds. Rect image.Rectangle }
BGRA is an in-memory image whose At method returns color.BGRA values.
func (*BGRA) ColorModel ¶ added in v0.1.0
type BGRX ¶ added in v0.1.0
type BGRX struct { // Pix holds the image's pixels, in B, G, R, X order. The pixel at // (x, y) starts at Pix[(y-Rect.Min.Y)*Stride + (x-Rect.Min.X)*4]. Pix []uint8 // Stride is the Pix stride (in bytes) between vertically adjacent pixels. Stride int // Rect is the image's bounds. Rect image.Rectangle }
BGRX is an in-memory image whose At method returns color.RGBA values.
func (*BGRX) ColorModel ¶ added in v0.1.0
type ExitCodeError ¶ added in v0.4.0
type ExitCodeError struct {
// contains filtered or unexported fields
}
func (*ExitCodeError) Error ¶ added in v0.4.0
func (e *ExitCodeError) Error() string
func (*ExitCodeError) ExitCode ¶ added in v0.4.0
func (e *ExitCodeError) ExitCode() int
Click to show internal directories.
Click to hide internal directories.