Documentation
¶
Overview ¶
Code generated by xtgen; DO NOT EDIT.
Code generated by xtgen; DO NOT EDIT.
Code generated by xtgen; DO NOT EDIT.
Code generated by xtgen; DO NOT EDIT.
Index ¶
- Constants
- func AddGlyphs(b *xturbo.Buf, glyphset Glyphset, glyphsLen uint32, glyphids []uint32, ...) xturbo.Seq
- func AddTraps(b *xturbo.Buf, picture Picture, xOff int16, yOff int16, traps []Trap) xturbo.Seq
- func ChangePicture(b *xturbo.Buf, picture Picture, v *ChangePictureValues) xturbo.Seq
- func Composite(b *xturbo.Buf, op PictOp, src Picture, mask Picture, dst Picture, srcX int16, ...) xturbo.Seq
- func CompositeGlyphs8(b *xturbo.Buf, op PictOp, src Picture, dst Picture, maskFormat Pictformat, ...) xturbo.Seq
- func CompositeGlyphs16(b *xturbo.Buf, op PictOp, src Picture, dst Picture, maskFormat Pictformat, ...) xturbo.Seq
- func CompositeGlyphs32(b *xturbo.Buf, op PictOp, src Picture, dst Picture, maskFormat Pictformat, ...) xturbo.Seq
- func CreateAnimCursor(b *xturbo.Buf, cid xproto.Cursor, cursors []Animcursorelt) xturbo.Seq
- func CreateConicalGradient(b *xturbo.Buf, picture Picture, center Pointfix, angle Fixed, numStops uint32, ...) xturbo.Seq
- func CreateCursor(b *xturbo.Buf, cid xproto.Cursor, source Picture, x uint16, y uint16) xturbo.Seq
- func CreateGlyphSet(b *xturbo.Buf, gsid Glyphset, format Pictformat) xturbo.Seq
- func CreateLinearGradient(b *xturbo.Buf, picture Picture, p1 Pointfix, p2 Pointfix, numStops uint32, ...) xturbo.Seq
- func CreatePicture(b *xturbo.Buf, pid Picture, drawable xproto.Drawable, format Pictformat, ...) xturbo.Seq
- func CreateRadialGradient(b *xturbo.Buf, picture Picture, inner Pointfix, outer Pointfix, ...) xturbo.Seq
- func CreateSolidFill(b *xturbo.Buf, picture Picture, color Color) xturbo.Seq
- func ErrorName(code uint8) string
- func FillRectangles(b *xturbo.Buf, op PictOp, dst Picture, color Color, rects []xproto.Rectangle) xturbo.Seq
- func FreeGlyphSet(b *xturbo.Buf, glyphset Glyphset) xturbo.Seq
- func FreeGlyphs(b *xturbo.Buf, glyphset Glyphset, glyphs []Glyph) xturbo.Seq
- func FreePicture(b *xturbo.Buf, picture Picture) xturbo.Seq
- func QueryFilters(b *xturbo.Buf, drawable xproto.Drawable) xturbo.Seq
- func QueryPictFormats(b *xturbo.Buf) xturbo.Seq
- func QueryPictIndexValues(b *xturbo.Buf, format Pictformat) xturbo.Seq
- func QueryVersion(b *xturbo.Buf, clientMajorVersion uint32, clientMinorVersion uint32) xturbo.Seq
- func ReferenceGlyphSet(b *xturbo.Buf, gsid Glyphset, existing Glyphset) xturbo.Seq
- func SetPictureClipRectangles(b *xturbo.Buf, picture Picture, clipXOrigin int16, clipYOrigin int16, ...) xturbo.Seq
- func SetPictureFilter(b *xturbo.Buf, picture Picture, filter string, values []Fixed) xturbo.Seq
- func SetPictureTransform(b *xturbo.Buf, picture Picture, transform Transform) xturbo.Seq
- func Trapezoids(b *xturbo.Buf, op PictOp, src Picture, dst Picture, maskFormat Pictformat, ...) xturbo.Seq
- func TriFan(b *xturbo.Buf, op PictOp, src Picture, dst Picture, maskFormat Pictformat, ...) xturbo.Seq
- func TriStrip(b *xturbo.Buf, op PictOp, src Picture, dst Picture, maskFormat Pictformat, ...) xturbo.Seq
- func Triangles(b *xturbo.Buf, op PictOp, src Picture, dst Picture, maskFormat Pictformat, ...) xturbo.Seq
- type Animcursorelt
- type ChangePictureValues
- func (v *ChangePictureValues) SetAlphamap(x Picture) *ChangePictureValues
- func (v *ChangePictureValues) SetAlphaxorigin(x int32) *ChangePictureValues
- func (v *ChangePictureValues) SetAlphayorigin(x int32) *ChangePictureValues
- func (v *ChangePictureValues) SetClipmask(x xproto.Pixmap) *ChangePictureValues
- func (v *ChangePictureValues) SetClipxorigin(x int32) *ChangePictureValues
- func (v *ChangePictureValues) SetClipyorigin(x int32) *ChangePictureValues
- func (v *ChangePictureValues) SetComponentalpha(x uint32) *ChangePictureValues
- func (v *ChangePictureValues) SetDither(x xproto.Atom) *ChangePictureValues
- func (v *ChangePictureValues) SetGraphicsexposure(x uint32) *ChangePictureValues
- func (v *ChangePictureValues) SetPolyedge(x PolyEdge) *ChangePictureValues
- func (v *ChangePictureValues) SetPolymode(x PolyMode) *ChangePictureValues
- func (v *ChangePictureValues) SetRepeat(x Repeat) *ChangePictureValues
- func (v *ChangePictureValues) SetSubwindowmode(x xproto.SubwindowMode) *ChangePictureValues
- type Color
- type Cp
- type CreatePictureValues
- func (v *CreatePictureValues) SetAlphamap(x Picture) *CreatePictureValues
- func (v *CreatePictureValues) SetAlphaxorigin(x int32) *CreatePictureValues
- func (v *CreatePictureValues) SetAlphayorigin(x int32) *CreatePictureValues
- func (v *CreatePictureValues) SetClipmask(x xproto.Pixmap) *CreatePictureValues
- func (v *CreatePictureValues) SetClipxorigin(x int32) *CreatePictureValues
- func (v *CreatePictureValues) SetClipyorigin(x int32) *CreatePictureValues
- func (v *CreatePictureValues) SetComponentalpha(x uint32) *CreatePictureValues
- func (v *CreatePictureValues) SetDither(x xproto.Atom) *CreatePictureValues
- func (v *CreatePictureValues) SetGraphicsexposure(x uint32) *CreatePictureValues
- func (v *CreatePictureValues) SetPolyedge(x PolyEdge) *CreatePictureValues
- func (v *CreatePictureValues) SetPolymode(x PolyMode) *CreatePictureValues
- func (v *CreatePictureValues) SetRepeat(x Repeat) *CreatePictureValues
- func (v *CreatePictureValues) SetSubwindowmode(x xproto.SubwindowMode) *CreatePictureValues
- type Directformat
- type Fixed
- type Glyph
- type Glyphinfo
- type Glyphset
- type Indexvalue
- type IndexvalueList
- type Linefix
- type PictOp
- type PictType
- type Pictdepth
- type PictdepthIter
- type PictdepthView
- type Pictformat
- type Pictforminfo
- type PictforminfoList
- type Pictscreen
- type PictscreenIter
- type PictscreenView
- type Picture
- type Pictvisual
- type PictvisualList
- type Pointfix
- type PolyEdge
- type PolyMode
- type QueryFiltersReply
- type QueryPictFormatsReply
- func (r QueryPictFormatsReply) Formats() PictforminfoList
- func (r QueryPictFormatsReply) NumDepths() uint32
- func (r QueryPictFormatsReply) NumFormats() uint32
- func (r QueryPictFormatsReply) NumScreens() uint32
- func (r QueryPictFormatsReply) NumSubpixel() uint32
- func (r QueryPictFormatsReply) NumVisuals() uint32
- func (r QueryPictFormatsReply) Raw() []byte
- func (r QueryPictFormatsReply) Screens() PictscreenIter
- func (r QueryPictFormatsReply) Subpixels() SubPixelList
- type QueryPictIndexValuesReply
- type QueryVersionReply
- type Repeat
- type Spanfix
- type SubPixel
- type SubPixelList
- type Transform
- type Trap
- type Trapezoid
- type Triangle
- type Uint16List
Constants ¶
const ( BadPictFormat uint8 = 0 BadPicture uint8 = 1 BadPictOp uint8 = 2 BadGlyphSet uint8 = 3 BadGlyph uint8 = 4 )
Error codes: error codes relative to the extension's FirstError (XError.Rel).
const AnimcursoreltSize = 8
const ColorSize = 8
const DirectformatSize = 16
const GlyphinfoSize = 12
const IndexvalueSize = 12
const LinefixSize = 16
const PictdepthSize = 8
const PictforminfoSize = 28
const PictscreenSize = 8
const PictvisualSize = 8
const PointfixSize = 8
const SpanfixSize = 12
const TransformSize = 36
const TrapSize = 24
const TrapezoidSize = 40
const TriangleSize = 24
Variables ¶
This section is empty.
Functions ¶
func AddGlyphs ¶
func AddTraps ¶
func ChangePicture ¶
func Composite ¶
func CompositeGlyphs8 ¶
func CompositeGlyphs16 ¶
func CompositeGlyphs32 ¶
func CreateAnimCursor ¶
func CreateConicalGradient ¶
func CreateCursor ¶
func CreateGlyphSet ¶
func CreateLinearGradient ¶
func CreatePicture ¶
func CreatePicture(b *xturbo.Buf, pid Picture, drawable xproto.Drawable, format Pictformat, v *CreatePictureValues) xturbo.Seq
func CreateRadialGradient ¶
func ErrorName ¶
ErrorName returns the name of an error code (error codes relative to the extension's FirstError (XError.Rel)), or "" when unknown.
func FillRectangles ¶
func QueryVersion ¶
func ReferenceGlyphSet ¶
func SetPictureClipRectangles ¶
func SetPictureFilter ¶
func SetPictureTransform ¶
func Trapezoids ¶
func TriFan ¶
func TriStrip ¶
Types ¶
type Animcursorelt ¶
func GetAnimcursorelt ¶
func GetAnimcursorelt(p []byte) (v Animcursorelt)
func (Animcursorelt) Put ¶
func (v Animcursorelt) Put(p []byte)
type ChangePictureValues ¶
type ChangePictureValues struct {
Mask Cp
Repeat Repeat
Alphamap Picture
Alphaxorigin int32
Alphayorigin int32
Clipxorigin int32
Clipyorigin int32
Clipmask xproto.Pixmap
Graphicsexposure uint32
Subwindowmode xproto.SubwindowMode
Polyedge PolyEdge
Polymode PolyMode
Dither xproto.Atom
Componentalpha uint32
}
func (*ChangePictureValues) SetAlphamap ¶
func (v *ChangePictureValues) SetAlphamap(x Picture) *ChangePictureValues
func (*ChangePictureValues) SetAlphaxorigin ¶
func (v *ChangePictureValues) SetAlphaxorigin(x int32) *ChangePictureValues
func (*ChangePictureValues) SetAlphayorigin ¶
func (v *ChangePictureValues) SetAlphayorigin(x int32) *ChangePictureValues
func (*ChangePictureValues) SetClipmask ¶
func (v *ChangePictureValues) SetClipmask(x xproto.Pixmap) *ChangePictureValues
func (*ChangePictureValues) SetClipxorigin ¶
func (v *ChangePictureValues) SetClipxorigin(x int32) *ChangePictureValues
func (*ChangePictureValues) SetClipyorigin ¶
func (v *ChangePictureValues) SetClipyorigin(x int32) *ChangePictureValues
func (*ChangePictureValues) SetComponentalpha ¶
func (v *ChangePictureValues) SetComponentalpha(x uint32) *ChangePictureValues
func (*ChangePictureValues) SetDither ¶
func (v *ChangePictureValues) SetDither(x xproto.Atom) *ChangePictureValues
func (*ChangePictureValues) SetGraphicsexposure ¶
func (v *ChangePictureValues) SetGraphicsexposure(x uint32) *ChangePictureValues
func (*ChangePictureValues) SetPolyedge ¶
func (v *ChangePictureValues) SetPolyedge(x PolyEdge) *ChangePictureValues
func (*ChangePictureValues) SetPolymode ¶
func (v *ChangePictureValues) SetPolymode(x PolyMode) *ChangePictureValues
func (*ChangePictureValues) SetRepeat ¶
func (v *ChangePictureValues) SetRepeat(x Repeat) *ChangePictureValues
func (*ChangePictureValues) SetSubwindowmode ¶
func (v *ChangePictureValues) SetSubwindowmode(x xproto.SubwindowMode) *ChangePictureValues
type Color ¶
type Cp ¶
type Cp uint32
const CpAlphaMap Cp = 2
const CpAlphaXOrigin Cp = 4
const CpAlphaYOrigin Cp = 8
const CpClipMask Cp = 64
const CpClipXOrigin Cp = 16
const CpClipYOrigin Cp = 32
const CpComponentAlpha Cp = 4096
const CpDither Cp = 2048
const CpGraphicsExposure Cp = 128
const CpPolyEdge Cp = 512
const CpPolyMode Cp = 1024
const CpRepeat Cp = 1
const CpSubwindowMode Cp = 256
type CreatePictureValues ¶
type CreatePictureValues struct {
Mask Cp
Repeat Repeat
Alphamap Picture
Alphaxorigin int32
Alphayorigin int32
Clipxorigin int32
Clipyorigin int32
Clipmask xproto.Pixmap
Graphicsexposure uint32
Subwindowmode xproto.SubwindowMode
Polyedge PolyEdge
Polymode PolyMode
Dither xproto.Atom
Componentalpha uint32
}
func (*CreatePictureValues) SetAlphamap ¶
func (v *CreatePictureValues) SetAlphamap(x Picture) *CreatePictureValues
func (*CreatePictureValues) SetAlphaxorigin ¶
func (v *CreatePictureValues) SetAlphaxorigin(x int32) *CreatePictureValues
func (*CreatePictureValues) SetAlphayorigin ¶
func (v *CreatePictureValues) SetAlphayorigin(x int32) *CreatePictureValues
func (*CreatePictureValues) SetClipmask ¶
func (v *CreatePictureValues) SetClipmask(x xproto.Pixmap) *CreatePictureValues
func (*CreatePictureValues) SetClipxorigin ¶
func (v *CreatePictureValues) SetClipxorigin(x int32) *CreatePictureValues
func (*CreatePictureValues) SetClipyorigin ¶
func (v *CreatePictureValues) SetClipyorigin(x int32) *CreatePictureValues
func (*CreatePictureValues) SetComponentalpha ¶
func (v *CreatePictureValues) SetComponentalpha(x uint32) *CreatePictureValues
func (*CreatePictureValues) SetDither ¶
func (v *CreatePictureValues) SetDither(x xproto.Atom) *CreatePictureValues
func (*CreatePictureValues) SetGraphicsexposure ¶
func (v *CreatePictureValues) SetGraphicsexposure(x uint32) *CreatePictureValues
func (*CreatePictureValues) SetPolyedge ¶
func (v *CreatePictureValues) SetPolyedge(x PolyEdge) *CreatePictureValues
func (*CreatePictureValues) SetPolymode ¶
func (v *CreatePictureValues) SetPolymode(x PolyMode) *CreatePictureValues
func (*CreatePictureValues) SetRepeat ¶
func (v *CreatePictureValues) SetRepeat(x Repeat) *CreatePictureValues
func (*CreatePictureValues) SetSubwindowmode ¶
func (v *CreatePictureValues) SetSubwindowmode(x xproto.SubwindowMode) *CreatePictureValues
type Directformat ¶
type Directformat struct {
RedShift uint16
RedMask uint16
GreenShift uint16
GreenMask uint16
BlueShift uint16
BlueMask uint16
AlphaShift uint16
AlphaMask uint16
}
func GetDirectformat ¶
func GetDirectformat(p []byte) (v Directformat)
func (Directformat) Put ¶
func (v Directformat) Put(p []byte)
type Glyphinfo ¶
type Indexvalue ¶
func GetIndexvalue ¶
func GetIndexvalue(p []byte) (v Indexvalue)
func (Indexvalue) Put ¶
func (v Indexvalue) Put(p []byte)
type IndexvalueList ¶
type IndexvalueList struct {
// contains filtered or unexported fields
}
IndexvalueList is a borrowed view over a wire list of Indexvalue. It shares the lifetime of the bytes it was taken from; copy what you keep.
func (IndexvalueList) At ¶
func (l IndexvalueList) At(i int) Indexvalue
func (IndexvalueList) Len ¶
func (l IndexvalueList) Len() int
type Linefix ¶
type PictOp ¶
type PictOp uint8
const PictOpAdd PictOp = 12
const PictOpAtop PictOp = 9
const PictOpAtopReverse PictOp = 10
const PictOpClear PictOp = 0
const PictOpColorBurn PictOp = 54
const PictOpColorDodge PictOp = 53
const PictOpConjointAtop PictOp = 41
const PictOpConjointAtopReverse PictOp = 42
const PictOpConjointClear PictOp = 32
const PictOpConjointDst PictOp = 34
const PictOpConjointIn PictOp = 37
const PictOpConjointInReverse PictOp = 38
const PictOpConjointOut PictOp = 39
const PictOpConjointOutReverse PictOp = 40
const PictOpConjointOver PictOp = 35
const PictOpConjointOverReverse PictOp = 36
const PictOpConjointSrc PictOp = 33
const PictOpConjointXor PictOp = 43
const PictOpDarken PictOp = 51
const PictOpDifference PictOp = 57
const PictOpDisjointAtop PictOp = 25
const PictOpDisjointAtopReverse PictOp = 26
const PictOpDisjointClear PictOp = 16
const PictOpDisjointDst PictOp = 18
const PictOpDisjointIn PictOp = 21
const PictOpDisjointInReverse PictOp = 22
const PictOpDisjointOut PictOp = 23
const PictOpDisjointOutReverse PictOp = 24
const PictOpDisjointOver PictOp = 19
const PictOpDisjointOverReverse PictOp = 20
const PictOpDisjointSrc PictOp = 17
const PictOpDisjointXor PictOp = 27
const PictOpDst PictOp = 2
const PictOpExclusion PictOp = 58
const PictOpHSLColor PictOp = 61
const PictOpHSLHue PictOp = 59
const PictOpHSLLuminosity PictOp = 62
const PictOpHSLSaturation PictOp = 60
const PictOpHardLight PictOp = 55
const PictOpIn PictOp = 5
const PictOpInReverse PictOp = 6
const PictOpLighten PictOp = 52
const PictOpMultiply PictOp = 48
const PictOpOut PictOp = 7
const PictOpOutReverse PictOp = 8
const PictOpOver PictOp = 3
const PictOpOverReverse PictOp = 4
const PictOpOverlay PictOp = 50
const PictOpSaturate PictOp = 13
const PictOpScreen PictOp = 49
const PictOpSoftLight PictOp = 56
const PictOpSrc PictOp = 1
const PictOpXor PictOp = 11
type PictType ¶
type PictType uint8
const PictTypeDirect PictType = 1
const PictTypeIndexed PictType = 0
type Pictdepth ¶
type Pictdepth struct {
Depth uint8
NumVisuals uint16
Visuals []Pictvisual
}
type PictdepthIter ¶
type PictdepthIter struct {
// contains filtered or unexported fields
}
PictdepthIter walks n consecutive Pictdepth elements; Err reports a malformed length. It shares the lifetime of the bytes it walks.
func NewPictdepthIter ¶
func NewPictdepthIter(b []byte, n int) PictdepthIter
NewPictdepthIter iterates n elements encoded at the start of b.
func (*PictdepthIter) Err ¶
func (it *PictdepthIter) Err() bool
func (*PictdepthIter) Next ¶
func (it *PictdepthIter) Next() bool
func (*PictdepthIter) Value ¶
func (it *PictdepthIter) Value() PictdepthView
type PictdepthView ¶
type PictdepthView struct {
// contains filtered or unexported fields
}
PictdepthView is a zero-copy view over one wire-encoded Pictdepth, yielded by PictdepthIter. It shares the lifetime of the bytes it was taken from (for replies: until the Handler callback returns). Copy what you keep.
func (PictdepthView) Depth ¶
func (v PictdepthView) Depth() uint8
func (PictdepthView) NumVisuals ¶
func (v PictdepthView) NumVisuals() uint16
func (PictdepthView) Raw ¶
func (v PictdepthView) Raw() []byte
func (PictdepthView) Size ¶
func (v PictdepthView) Size() int
Size is the element's wire size, including trailing alignment.
func (PictdepthView) Visuals ¶
func (v PictdepthView) Visuals() PictvisualList
type Pictforminfo ¶
type Pictforminfo struct {
Id Pictformat
Type PictType
Depth uint8
Direct Directformat
Colormap xproto.Colormap
}
func GetPictforminfo ¶
func GetPictforminfo(p []byte) (v Pictforminfo)
func (Pictforminfo) Put ¶
func (v Pictforminfo) Put(p []byte)
type PictforminfoList ¶
type PictforminfoList struct {
// contains filtered or unexported fields
}
PictforminfoList is a borrowed view over a wire list of Pictforminfo. It shares the lifetime of the bytes it was taken from; copy what you keep.
func (PictforminfoList) At ¶
func (l PictforminfoList) At(i int) Pictforminfo
func (PictforminfoList) Len ¶
func (l PictforminfoList) Len() int
type Pictscreen ¶
type Pictscreen struct {
NumDepths uint32
Fallback Pictformat
Depths []Pictdepth
}
func (Pictscreen) Put ¶
func (v Pictscreen) Put(p []byte)
func (Pictscreen) Size ¶
func (v Pictscreen) Size() int
type PictscreenIter ¶
type PictscreenIter struct {
// contains filtered or unexported fields
}
PictscreenIter walks n consecutive Pictscreen elements; Err reports a malformed length. It shares the lifetime of the bytes it walks.
func NewPictscreenIter ¶
func NewPictscreenIter(b []byte, n int) PictscreenIter
NewPictscreenIter iterates n elements encoded at the start of b.
func (*PictscreenIter) Err ¶
func (it *PictscreenIter) Err() bool
func (*PictscreenIter) Next ¶
func (it *PictscreenIter) Next() bool
func (*PictscreenIter) Value ¶
func (it *PictscreenIter) Value() PictscreenView
type PictscreenView ¶
type PictscreenView struct {
// contains filtered or unexported fields
}
PictscreenView is a zero-copy view over one wire-encoded Pictscreen, yielded by PictscreenIter. It shares the lifetime of the bytes it was taken from (for replies: until the Handler callback returns). Copy what you keep.
func (PictscreenView) Depths ¶
func (v PictscreenView) Depths() PictdepthIter
func (PictscreenView) Fallback ¶
func (v PictscreenView) Fallback() Pictformat
func (PictscreenView) NumDepths ¶
func (v PictscreenView) NumDepths() uint32
func (PictscreenView) Raw ¶
func (v PictscreenView) Raw() []byte
func (PictscreenView) Size ¶
func (v PictscreenView) Size() int
Size is the element's wire size, including trailing alignment.
type Pictvisual ¶
type Pictvisual struct {
Visual xproto.Visualid
Format Pictformat
}
func GetPictvisual ¶
func GetPictvisual(p []byte) (v Pictvisual)
func (Pictvisual) Put ¶
func (v Pictvisual) Put(p []byte)
type PictvisualList ¶
type PictvisualList struct {
// contains filtered or unexported fields
}
PictvisualList is a borrowed view over a wire list of Pictvisual. It shares the lifetime of the bytes it was taken from; copy what you keep.
func (PictvisualList) At ¶
func (l PictvisualList) At(i int) Pictvisual
func (PictvisualList) Len ¶
func (l PictvisualList) Len() int
type Pointfix ¶
type PolyEdge ¶
type PolyEdge uint32
const PolyEdgeSharp PolyEdge = 0
const PolyEdgeSmooth PolyEdge = 1
type PolyMode ¶
type PolyMode uint32
const PolyModeImprecise PolyMode = 1
const PolyModePrecise PolyMode = 0
type QueryFiltersReply ¶
type QueryFiltersReply struct {
// contains filtered or unexported fields
}
QueryFiltersReply is a zero-copy view over a QueryFilters reply; offsets count from reply byte 0. It borrows the reply bytes: valid only until the Handler callback returns, because the read ring is reused. Copy what you keep.
func ParseQueryFiltersReply ¶
func ParseQueryFiltersReply(raw []byte) (QueryFiltersReply, bool)
ParseQueryFiltersReply validates raw (the whole reply, 32+4*length bytes) once; getters do not re-check.
func (QueryFiltersReply) Aliases ¶
func (r QueryFiltersReply) Aliases() Uint16List
func (QueryFiltersReply) Filters ¶
func (r QueryFiltersReply) Filters() xproto.StrIter
func (QueryFiltersReply) NumAliases ¶
func (r QueryFiltersReply) NumAliases() uint32
func (QueryFiltersReply) NumFilters ¶
func (r QueryFiltersReply) NumFilters() uint32
func (QueryFiltersReply) Raw ¶
func (r QueryFiltersReply) Raw() []byte
type QueryPictFormatsReply ¶
type QueryPictFormatsReply struct {
// contains filtered or unexported fields
}
QueryPictFormatsReply is a zero-copy view over a QueryPictFormats reply; offsets count from reply byte 0. It borrows the reply bytes: valid only until the Handler callback returns, because the read ring is reused. Copy what you keep.
func ParseQueryPictFormatsReply ¶
func ParseQueryPictFormatsReply(raw []byte) (QueryPictFormatsReply, bool)
ParseQueryPictFormatsReply validates raw (the whole reply, 32+4*length bytes) once; getters do not re-check.
func (QueryPictFormatsReply) Formats ¶
func (r QueryPictFormatsReply) Formats() PictforminfoList
func (QueryPictFormatsReply) NumDepths ¶
func (r QueryPictFormatsReply) NumDepths() uint32
func (QueryPictFormatsReply) NumFormats ¶
func (r QueryPictFormatsReply) NumFormats() uint32
func (QueryPictFormatsReply) NumScreens ¶
func (r QueryPictFormatsReply) NumScreens() uint32
func (QueryPictFormatsReply) NumSubpixel ¶
func (r QueryPictFormatsReply) NumSubpixel() uint32
func (QueryPictFormatsReply) NumVisuals ¶
func (r QueryPictFormatsReply) NumVisuals() uint32
func (QueryPictFormatsReply) Raw ¶
func (r QueryPictFormatsReply) Raw() []byte
func (QueryPictFormatsReply) Screens ¶
func (r QueryPictFormatsReply) Screens() PictscreenIter
func (QueryPictFormatsReply) Subpixels ¶
func (r QueryPictFormatsReply) Subpixels() SubPixelList
type QueryPictIndexValuesReply ¶
type QueryPictIndexValuesReply struct {
// contains filtered or unexported fields
}
QueryPictIndexValuesReply is a zero-copy view over a QueryPictIndexValues reply; offsets count from reply byte 0. It borrows the reply bytes: valid only until the Handler callback returns, because the read ring is reused. Copy what you keep.
func ParseQueryPictIndexValuesReply ¶
func ParseQueryPictIndexValuesReply(raw []byte) (QueryPictIndexValuesReply, bool)
ParseQueryPictIndexValuesReply validates raw (the whole reply, 32+4*length bytes) once; getters do not re-check.
func (QueryPictIndexValuesReply) NumValues ¶
func (r QueryPictIndexValuesReply) NumValues() uint32
func (QueryPictIndexValuesReply) Raw ¶
func (r QueryPictIndexValuesReply) Raw() []byte
func (QueryPictIndexValuesReply) Values ¶
func (r QueryPictIndexValuesReply) Values() IndexvalueList
type QueryVersionReply ¶
type QueryVersionReply struct {
// contains filtered or unexported fields
}
QueryVersionReply is a zero-copy view over a QueryVersion reply; offsets count from reply byte 0. It borrows the reply bytes: valid only until the Handler callback returns, because the read ring is reused. Copy what you keep.
func ParseQueryVersionReply ¶
func ParseQueryVersionReply(raw []byte) (QueryVersionReply, bool)
ParseQueryVersionReply validates raw (the whole reply, 32+4*length bytes) once; getters do not re-check.
func (QueryVersionReply) MajorVersion ¶
func (r QueryVersionReply) MajorVersion() uint32
func (QueryVersionReply) MinorVersion ¶
func (r QueryVersionReply) MinorVersion() uint32
func (QueryVersionReply) Raw ¶
func (r QueryVersionReply) Raw() []byte
type Repeat ¶
type Repeat uint32
const RepeatNone Repeat = 0
const RepeatNormal Repeat = 1
const RepeatPad Repeat = 2
const RepeatReflect Repeat = 3
type Spanfix ¶
type SubPixel ¶
type SubPixel uint32
const SubPixelHorizontalBGR SubPixel = 2
const SubPixelHorizontalRGB SubPixel = 1
const SubPixelNone SubPixel = 5
const SubPixelUnknown SubPixel = 0
const SubPixelVerticalBGR SubPixel = 4
const SubPixelVerticalRGB SubPixel = 3
type SubPixelList ¶
type SubPixelList struct {
// contains filtered or unexported fields
}
SubPixelList is a borrowed view over a wire list of SubPixel. It shares the lifetime of the bytes it was taken from; copy what you keep.
func (SubPixelList) At ¶
func (l SubPixelList) At(i int) SubPixel
func (SubPixelList) Len ¶
func (l SubPixelList) Len() int
type Transform ¶
type Trap ¶
type Trapezoid ¶
type Triangle ¶
type Uint16List ¶
type Uint16List struct {
// contains filtered or unexported fields
}
Uint16List is a borrowed view over a wire list of uint16. It shares the lifetime of the bytes it was taken from; copy what you keep.
func (Uint16List) At ¶
func (l Uint16List) At(i int) uint16
func (Uint16List) Len ¶
func (l Uint16List) Len() int
Source Files
¶
- errors_generated.go
- replies_generated.go
- requests_generated.go
- types_generated.go