exp: golang.org/x/exp/shiny/vendor/github.com/BurntSushi/xgb/render Index | Files

package render

import "golang.org/x/exp/shiny/vendor/github.com/BurntSushi/xgb/render"

Package render is the X client API for the RENDER extension.

Index

Package Files

render.go

Constants

const (
    CpRepeat           = 1
    CpAlphaMap         = 2
    CpAlphaXOrigin     = 4
    CpAlphaYOrigin     = 8
    CpClipXOrigin      = 16
    CpClipYOrigin      = 32
    CpClipMask         = 64
    CpGraphicsExposure = 128
    CpSubwindowMode    = 256
    CpPolyEdge         = 512
    CpPolyMode         = 1024
    CpDither           = 2048
    CpComponentAlpha   = 4096
)
const (
    PictOpClear               = 0
    PictOpSrc                 = 1
    PictOpDst                 = 2
    PictOpOver                = 3
    PictOpOverReverse         = 4
    PictOpIn                  = 5
    PictOpInReverse           = 6
    PictOpOut                 = 7
    PictOpOutReverse          = 8
    PictOpAtop                = 9
    PictOpAtopReverse         = 10
    PictOpXor                 = 11
    PictOpAdd                 = 12
    PictOpSaturate            = 13
    PictOpDisjointClear       = 16
    PictOpDisjointSrc         = 17
    PictOpDisjointDst         = 18
    PictOpDisjointOver        = 19
    PictOpDisjointOverReverse = 20
    PictOpDisjointIn          = 21
    PictOpDisjointInReverse   = 22
    PictOpDisjointOut         = 23
    PictOpDisjointOutReverse  = 24
    PictOpDisjointAtop        = 25
    PictOpDisjointAtopReverse = 26
    PictOpDisjointXor         = 27
    PictOpConjointClear       = 32
    PictOpConjointSrc         = 33
    PictOpConjointDst         = 34
    PictOpConjointOver        = 35
    PictOpConjointOverReverse = 36
    PictOpConjointIn          = 37
    PictOpConjointInReverse   = 38
    PictOpConjointOut         = 39
    PictOpConjointOutReverse  = 40
    PictOpConjointAtop        = 41
    PictOpConjointAtopReverse = 42
    PictOpConjointXor         = 43
    PictOpMultiply            = 48
    PictOpScreen              = 49
    PictOpOverlay             = 50
    PictOpDarken              = 51
    PictOpLighten             = 52
    PictOpColorDodge          = 53
    PictOpColorBurn           = 54
    PictOpHardLight           = 55
    PictOpSoftLight           = 56
    PictOpDifference          = 57
    PictOpExclusion           = 58
    PictOpHSLHue              = 59
    PictOpHSLSaturation       = 60
    PictOpHSLColor            = 61
    PictOpHSLLuminosity       = 62
)
const (
    PictTypeIndexed = 0
    PictTypeDirect  = 1
)
const (
    PolyEdgeSharp  = 0
    PolyEdgeSmooth = 1
)
const (
    PolyModePrecise   = 0
    PolyModeImprecise = 1
)
const (
    RepeatNone    = 0
    RepeatNormal  = 1
    RepeatPad     = 2
    RepeatReflect = 3
)
const (
    SubPixelUnknown       = 0
    SubPixelHorizontalRGB = 1
    SubPixelHorizontalBGR = 2
    SubPixelVerticalRGB   = 3
    SubPixelVerticalBGR   = 4
    SubPixelNone          = 5
)
const BadGlyph = 4

BadGlyph is the error number for a BadGlyph.

const BadGlyphSet = 3

BadGlyphSet is the error number for a BadGlyphSet.

const BadPictFormat = 0

BadPictFormat is the error number for a BadPictFormat.

const BadPictOp = 2

BadPictOp is the error number for a BadPictOp.

const BadPicture = 1

BadPicture is the error number for a BadPicture.

const (
    PictureNone = 0
)

func AnimcursoreltListBytes Uses

func AnimcursoreltListBytes(buf []byte, list []Animcursorelt) int

AnimcursoreltListBytes writes a list of Animcursorelt values to a byte slice.

func AnimcursoreltRead Uses

func AnimcursoreltRead(buf []byte, v *Animcursorelt) int

AnimcursoreltRead reads a byte slice into a Animcursorelt value.

func AnimcursoreltReadList Uses

func AnimcursoreltReadList(buf []byte, dest []Animcursorelt) int

AnimcursoreltReadList reads a byte slice into a list of Animcursorelt values.

func ColorListBytes Uses

func ColorListBytes(buf []byte, list []Color) int

ColorListBytes writes a list of Color values to a byte slice.

func ColorRead Uses

func ColorRead(buf []byte, v *Color) int

ColorRead reads a byte slice into a Color value.

func ColorReadList Uses

func ColorReadList(buf []byte, dest []Color) int

ColorReadList reads a byte slice into a list of Color values.

func DirectformatListBytes Uses

func DirectformatListBytes(buf []byte, list []Directformat) int

DirectformatListBytes writes a list of Directformat values to a byte slice.

func DirectformatRead Uses

func DirectformatRead(buf []byte, v *Directformat) int

DirectformatRead reads a byte slice into a Directformat value.

func DirectformatReadList Uses

func DirectformatReadList(buf []byte, dest []Directformat) int

DirectformatReadList reads a byte slice into a list of Directformat values.

func GlyphErrorNew Uses

func GlyphErrorNew(buf []byte) xgb.Error

GlyphErrorNew constructs a GlyphError value that implements xgb.Error from a byte slice.

func GlyphSetErrorNew Uses

func GlyphSetErrorNew(buf []byte) xgb.Error

GlyphSetErrorNew constructs a GlyphSetError value that implements xgb.Error from a byte slice.

func GlyphinfoListBytes Uses

func GlyphinfoListBytes(buf []byte, list []Glyphinfo) int

GlyphinfoListBytes writes a list of Glyphinfo values to a byte slice.

func GlyphinfoRead Uses

func GlyphinfoRead(buf []byte, v *Glyphinfo) int

GlyphinfoRead reads a byte slice into a Glyphinfo value.

func GlyphinfoReadList Uses

func GlyphinfoReadList(buf []byte, dest []Glyphinfo) int

GlyphinfoReadList reads a byte slice into a list of Glyphinfo values.

func IndexvalueListBytes Uses

func IndexvalueListBytes(buf []byte, list []Indexvalue) int

IndexvalueListBytes writes a list of Indexvalue values to a byte slice.

func IndexvalueRead Uses

func IndexvalueRead(buf []byte, v *Indexvalue) int

IndexvalueRead reads a byte slice into a Indexvalue value.

func IndexvalueReadList Uses

func IndexvalueReadList(buf []byte, dest []Indexvalue) int

IndexvalueReadList reads a byte slice into a list of Indexvalue values.

func Init Uses

func Init(c *xgb.Conn) error

Init must be called before using the RENDER extension.

func LinefixListBytes Uses

func LinefixListBytes(buf []byte, list []Linefix) int

LinefixListBytes writes a list of Linefix values to a byte slice.

func LinefixRead Uses

func LinefixRead(buf []byte, v *Linefix) int

LinefixRead reads a byte slice into a Linefix value.

func LinefixReadList Uses

func LinefixReadList(buf []byte, dest []Linefix) int

LinefixReadList reads a byte slice into a list of Linefix values.

func PictFormatErrorNew Uses

func PictFormatErrorNew(buf []byte) xgb.Error

PictFormatErrorNew constructs a PictFormatError value that implements xgb.Error from a byte slice.

func PictOpErrorNew Uses

func PictOpErrorNew(buf []byte) xgb.Error

PictOpErrorNew constructs a PictOpError value that implements xgb.Error from a byte slice.

func PictdepthListBytes Uses

func PictdepthListBytes(buf []byte, list []Pictdepth) int

PictdepthListBytes writes a list of Pictdepth values to a byte slice.

func PictdepthListSize Uses

func PictdepthListSize(list []Pictdepth) int

PictdepthListSize computes the size (bytes) of a list of Pictdepth values.

func PictdepthRead Uses

func PictdepthRead(buf []byte, v *Pictdepth) int

PictdepthRead reads a byte slice into a Pictdepth value.

func PictdepthReadList Uses

func PictdepthReadList(buf []byte, dest []Pictdepth) int

PictdepthReadList reads a byte slice into a list of Pictdepth values.

func PictforminfoListBytes Uses

func PictforminfoListBytes(buf []byte, list []Pictforminfo) int

PictforminfoListBytes writes a list of Pictforminfo values to a byte slice.

func PictforminfoRead Uses

func PictforminfoRead(buf []byte, v *Pictforminfo) int

PictforminfoRead reads a byte slice into a Pictforminfo value.

func PictforminfoReadList Uses

func PictforminfoReadList(buf []byte, dest []Pictforminfo) int

PictforminfoReadList reads a byte slice into a list of Pictforminfo values.

func PictscreenListBytes Uses

func PictscreenListBytes(buf []byte, list []Pictscreen) int

PictscreenListBytes writes a list of Pictscreen values to a byte slice.

func PictscreenListSize Uses

func PictscreenListSize(list []Pictscreen) int

PictscreenListSize computes the size (bytes) of a list of Pictscreen values.

func PictscreenRead Uses

func PictscreenRead(buf []byte, v *Pictscreen) int

PictscreenRead reads a byte slice into a Pictscreen value.

func PictscreenReadList Uses

func PictscreenReadList(buf []byte, dest []Pictscreen) int

PictscreenReadList reads a byte slice into a list of Pictscreen values.

func PictureErrorNew Uses

func PictureErrorNew(buf []byte) xgb.Error

PictureErrorNew constructs a PictureError value that implements xgb.Error from a byte slice.

func PictvisualListBytes Uses

func PictvisualListBytes(buf []byte, list []Pictvisual) int

PictvisualListBytes writes a list of Pictvisual values to a byte slice.

func PictvisualRead Uses

func PictvisualRead(buf []byte, v *Pictvisual) int

PictvisualRead reads a byte slice into a Pictvisual value.

func PictvisualReadList Uses

func PictvisualReadList(buf []byte, dest []Pictvisual) int

PictvisualReadList reads a byte slice into a list of Pictvisual values.

func PointfixListBytes Uses

func PointfixListBytes(buf []byte, list []Pointfix) int

PointfixListBytes writes a list of Pointfix values to a byte slice.

func PointfixRead Uses

func PointfixRead(buf []byte, v *Pointfix) int

PointfixRead reads a byte slice into a Pointfix value.

func PointfixReadList Uses

func PointfixReadList(buf []byte, dest []Pointfix) int

PointfixReadList reads a byte slice into a list of Pointfix values.

func SpanfixListBytes Uses

func SpanfixListBytes(buf []byte, list []Spanfix) int

SpanfixListBytes writes a list of Spanfix values to a byte slice.

func SpanfixRead Uses

func SpanfixRead(buf []byte, v *Spanfix) int

SpanfixRead reads a byte slice into a Spanfix value.

func SpanfixReadList Uses

func SpanfixReadList(buf []byte, dest []Spanfix) int

SpanfixReadList reads a byte slice into a list of Spanfix values.

func TransformListBytes Uses

func TransformListBytes(buf []byte, list []Transform) int

TransformListBytes writes a list of Transform values to a byte slice.

func TransformRead Uses

func TransformRead(buf []byte, v *Transform) int

TransformRead reads a byte slice into a Transform value.

func TransformReadList Uses

func TransformReadList(buf []byte, dest []Transform) int

TransformReadList reads a byte slice into a list of Transform values.

func TrapListBytes Uses

func TrapListBytes(buf []byte, list []Trap) int

TrapListBytes writes a list of Trap values to a byte slice.

func TrapRead Uses

func TrapRead(buf []byte, v *Trap) int

TrapRead reads a byte slice into a Trap value.

func TrapReadList Uses

func TrapReadList(buf []byte, dest []Trap) int

TrapReadList reads a byte slice into a list of Trap values.

func TrapezoidListBytes Uses

func TrapezoidListBytes(buf []byte, list []Trapezoid) int

TrapezoidListBytes writes a list of Trapezoid values to a byte slice.

func TrapezoidRead Uses

func TrapezoidRead(buf []byte, v *Trapezoid) int

TrapezoidRead reads a byte slice into a Trapezoid value.

func TrapezoidReadList Uses

func TrapezoidReadList(buf []byte, dest []Trapezoid) int

TrapezoidReadList reads a byte slice into a list of Trapezoid values.

func TriangleListBytes Uses

func TriangleListBytes(buf []byte, list []Triangle) int

TriangleListBytes writes a list of Triangle values to a byte slice.

func TriangleRead Uses

func TriangleRead(buf []byte, v *Triangle) int

TriangleRead reads a byte slice into a Triangle value.

func TriangleReadList Uses

func TriangleReadList(buf []byte, dest []Triangle) int

TriangleReadList reads a byte slice into a list of Triangle values.

type AddGlyphsCookie Uses

type AddGlyphsCookie struct {
    *xgb.Cookie
}

AddGlyphsCookie is a cookie used only for AddGlyphs requests.

func AddGlyphs Uses

func AddGlyphs(c *xgb.Conn, Glyphset Glyphset, GlyphsLen uint32, Glyphids []uint32, Glyphs []Glyphinfo, Data []byte) AddGlyphsCookie

AddGlyphs sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func AddGlyphsChecked Uses

func AddGlyphsChecked(c *xgb.Conn, Glyphset Glyphset, GlyphsLen uint32, Glyphids []uint32, Glyphs []Glyphinfo, Data []byte) AddGlyphsCookie

AddGlyphsChecked sends a checked request. If an error occurs, it can be retrieved using AddGlyphsCookie.Check()

func (AddGlyphsCookie) Check Uses

func (cook AddGlyphsCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type AddTrapsCookie Uses

type AddTrapsCookie struct {
    *xgb.Cookie
}

AddTrapsCookie is a cookie used only for AddTraps requests.

func AddTraps Uses

func AddTraps(c *xgb.Conn, Picture Picture, XOff int16, YOff int16, Traps []Trap) AddTrapsCookie

AddTraps sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func AddTrapsChecked Uses

func AddTrapsChecked(c *xgb.Conn, Picture Picture, XOff int16, YOff int16, Traps []Trap) AddTrapsCookie

AddTrapsChecked sends a checked request. If an error occurs, it can be retrieved using AddTrapsCookie.Check()

func (AddTrapsCookie) Check Uses

func (cook AddTrapsCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type Animcursorelt Uses

type Animcursorelt struct {
    Cursor xproto.Cursor
    Delay  uint32
}

func (Animcursorelt) Bytes Uses

func (v Animcursorelt) Bytes() []byte

Bytes writes a Animcursorelt value to a byte slice.

type ChangePictureCookie Uses

type ChangePictureCookie struct {
    *xgb.Cookie
}

ChangePictureCookie is a cookie used only for ChangePicture requests.

func ChangePicture Uses

func ChangePicture(c *xgb.Conn, Picture Picture, ValueMask uint32, ValueList []uint32) ChangePictureCookie

ChangePicture sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func ChangePictureChecked Uses

func ChangePictureChecked(c *xgb.Conn, Picture Picture, ValueMask uint32, ValueList []uint32) ChangePictureCookie

ChangePictureChecked sends a checked request. If an error occurs, it can be retrieved using ChangePictureCookie.Check()

func (ChangePictureCookie) Check Uses

func (cook ChangePictureCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type Color Uses

type Color struct {
    Red   uint16
    Green uint16
    Blue  uint16
    Alpha uint16
}

func (Color) Bytes Uses

func (v Color) Bytes() []byte

Bytes writes a Color value to a byte slice.

type CompositeCookie Uses

type CompositeCookie struct {
    *xgb.Cookie
}

CompositeCookie is a cookie used only for Composite requests.

func Composite Uses

func Composite(c *xgb.Conn, Op byte, Src Picture, Mask Picture, Dst Picture, SrcX int16, SrcY int16, MaskX int16, MaskY int16, DstX int16, DstY int16, Width uint16, Height uint16) CompositeCookie

Composite sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CompositeChecked Uses

func CompositeChecked(c *xgb.Conn, Op byte, Src Picture, Mask Picture, Dst Picture, SrcX int16, SrcY int16, MaskX int16, MaskY int16, DstX int16, DstY int16, Width uint16, Height uint16) CompositeCookie

CompositeChecked sends a checked request. If an error occurs, it can be retrieved using CompositeCookie.Check()

func (CompositeCookie) Check Uses

func (cook CompositeCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type CompositeGlyphs16Cookie Uses

type CompositeGlyphs16Cookie struct {
    *xgb.Cookie
}

CompositeGlyphs16Cookie is a cookie used only for CompositeGlyphs16 requests.

func CompositeGlyphs16 Uses

func CompositeGlyphs16(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, Glyphset Glyphset, SrcX int16, SrcY int16, Glyphcmds []byte) CompositeGlyphs16Cookie

CompositeGlyphs16 sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CompositeGlyphs16Checked Uses

func CompositeGlyphs16Checked(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, Glyphset Glyphset, SrcX int16, SrcY int16, Glyphcmds []byte) CompositeGlyphs16Cookie

CompositeGlyphs16Checked sends a checked request. If an error occurs, it can be retrieved using CompositeGlyphs16Cookie.Check()

func (CompositeGlyphs16Cookie) Check Uses

func (cook CompositeGlyphs16Cookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type CompositeGlyphs32Cookie Uses

type CompositeGlyphs32Cookie struct {
    *xgb.Cookie
}

CompositeGlyphs32Cookie is a cookie used only for CompositeGlyphs32 requests.

func CompositeGlyphs32 Uses

func CompositeGlyphs32(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, Glyphset Glyphset, SrcX int16, SrcY int16, Glyphcmds []byte) CompositeGlyphs32Cookie

CompositeGlyphs32 sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CompositeGlyphs32Checked Uses

func CompositeGlyphs32Checked(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, Glyphset Glyphset, SrcX int16, SrcY int16, Glyphcmds []byte) CompositeGlyphs32Cookie

CompositeGlyphs32Checked sends a checked request. If an error occurs, it can be retrieved using CompositeGlyphs32Cookie.Check()

func (CompositeGlyphs32Cookie) Check Uses

func (cook CompositeGlyphs32Cookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type CompositeGlyphs8Cookie Uses

type CompositeGlyphs8Cookie struct {
    *xgb.Cookie
}

CompositeGlyphs8Cookie is a cookie used only for CompositeGlyphs8 requests.

func CompositeGlyphs8 Uses

func CompositeGlyphs8(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, Glyphset Glyphset, SrcX int16, SrcY int16, Glyphcmds []byte) CompositeGlyphs8Cookie

CompositeGlyphs8 sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CompositeGlyphs8Checked Uses

func CompositeGlyphs8Checked(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, Glyphset Glyphset, SrcX int16, SrcY int16, Glyphcmds []byte) CompositeGlyphs8Cookie

CompositeGlyphs8Checked sends a checked request. If an error occurs, it can be retrieved using CompositeGlyphs8Cookie.Check()

func (CompositeGlyphs8Cookie) Check Uses

func (cook CompositeGlyphs8Cookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type CreateAnimCursorCookie Uses

type CreateAnimCursorCookie struct {
    *xgb.Cookie
}

CreateAnimCursorCookie is a cookie used only for CreateAnimCursor requests.

func CreateAnimCursor Uses

func CreateAnimCursor(c *xgb.Conn, Cid xproto.Cursor, Cursors []Animcursorelt) CreateAnimCursorCookie

CreateAnimCursor sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CreateAnimCursorChecked Uses

func CreateAnimCursorChecked(c *xgb.Conn, Cid xproto.Cursor, Cursors []Animcursorelt) CreateAnimCursorCookie

CreateAnimCursorChecked sends a checked request. If an error occurs, it can be retrieved using CreateAnimCursorCookie.Check()

func (CreateAnimCursorCookie) Check Uses

func (cook CreateAnimCursorCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type CreateConicalGradientCookie Uses

type CreateConicalGradientCookie struct {
    *xgb.Cookie
}

CreateConicalGradientCookie is a cookie used only for CreateConicalGradient requests.

func CreateConicalGradient Uses

func CreateConicalGradient(c *xgb.Conn, Picture Picture, Center Pointfix, Angle Fixed, NumStops uint32, Stops []Fixed, Colors []Color) CreateConicalGradientCookie

CreateConicalGradient sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CreateConicalGradientChecked Uses

func CreateConicalGradientChecked(c *xgb.Conn, Picture Picture, Center Pointfix, Angle Fixed, NumStops uint32, Stops []Fixed, Colors []Color) CreateConicalGradientCookie

CreateConicalGradientChecked sends a checked request. If an error occurs, it can be retrieved using CreateConicalGradientCookie.Check()

func (CreateConicalGradientCookie) Check Uses

func (cook CreateConicalGradientCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type CreateCursorCookie Uses

type CreateCursorCookie struct {
    *xgb.Cookie
}

CreateCursorCookie is a cookie used only for CreateCursor requests.

func CreateCursor Uses

func CreateCursor(c *xgb.Conn, Cid xproto.Cursor, Source Picture, X uint16, Y uint16) CreateCursorCookie

CreateCursor sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CreateCursorChecked Uses

func CreateCursorChecked(c *xgb.Conn, Cid xproto.Cursor, Source Picture, X uint16, Y uint16) CreateCursorCookie

CreateCursorChecked sends a checked request. If an error occurs, it can be retrieved using CreateCursorCookie.Check()

func (CreateCursorCookie) Check Uses

func (cook CreateCursorCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type CreateGlyphSetCookie Uses

type CreateGlyphSetCookie struct {
    *xgb.Cookie
}

CreateGlyphSetCookie is a cookie used only for CreateGlyphSet requests.

func CreateGlyphSet Uses

func CreateGlyphSet(c *xgb.Conn, Gsid Glyphset, Format Pictformat) CreateGlyphSetCookie

CreateGlyphSet sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CreateGlyphSetChecked Uses

func CreateGlyphSetChecked(c *xgb.Conn, Gsid Glyphset, Format Pictformat) CreateGlyphSetCookie

CreateGlyphSetChecked sends a checked request. If an error occurs, it can be retrieved using CreateGlyphSetCookie.Check()

func (CreateGlyphSetCookie) Check Uses

func (cook CreateGlyphSetCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type CreateLinearGradientCookie Uses

type CreateLinearGradientCookie struct {
    *xgb.Cookie
}

CreateLinearGradientCookie is a cookie used only for CreateLinearGradient requests.

func CreateLinearGradient Uses

func CreateLinearGradient(c *xgb.Conn, Picture Picture, P1 Pointfix, P2 Pointfix, NumStops uint32, Stops []Fixed, Colors []Color) CreateLinearGradientCookie

CreateLinearGradient sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CreateLinearGradientChecked Uses

func CreateLinearGradientChecked(c *xgb.Conn, Picture Picture, P1 Pointfix, P2 Pointfix, NumStops uint32, Stops []Fixed, Colors []Color) CreateLinearGradientCookie

CreateLinearGradientChecked sends a checked request. If an error occurs, it can be retrieved using CreateLinearGradientCookie.Check()

func (CreateLinearGradientCookie) Check Uses

func (cook CreateLinearGradientCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type CreatePictureCookie Uses

type CreatePictureCookie struct {
    *xgb.Cookie
}

CreatePictureCookie is a cookie used only for CreatePicture requests.

func CreatePicture Uses

func CreatePicture(c *xgb.Conn, Pid Picture, Drawable xproto.Drawable, Format Pictformat, ValueMask uint32, ValueList []uint32) CreatePictureCookie

CreatePicture sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CreatePictureChecked Uses

func CreatePictureChecked(c *xgb.Conn, Pid Picture, Drawable xproto.Drawable, Format Pictformat, ValueMask uint32, ValueList []uint32) CreatePictureCookie

CreatePictureChecked sends a checked request. If an error occurs, it can be retrieved using CreatePictureCookie.Check()

func (CreatePictureCookie) Check Uses

func (cook CreatePictureCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type CreateRadialGradientCookie Uses

type CreateRadialGradientCookie struct {
    *xgb.Cookie
}

CreateRadialGradientCookie is a cookie used only for CreateRadialGradient requests.

func CreateRadialGradient Uses

func CreateRadialGradient(c *xgb.Conn, Picture Picture, Inner Pointfix, Outer Pointfix, InnerRadius Fixed, OuterRadius Fixed, NumStops uint32, Stops []Fixed, Colors []Color) CreateRadialGradientCookie

CreateRadialGradient sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CreateRadialGradientChecked Uses

func CreateRadialGradientChecked(c *xgb.Conn, Picture Picture, Inner Pointfix, Outer Pointfix, InnerRadius Fixed, OuterRadius Fixed, NumStops uint32, Stops []Fixed, Colors []Color) CreateRadialGradientCookie

CreateRadialGradientChecked sends a checked request. If an error occurs, it can be retrieved using CreateRadialGradientCookie.Check()

func (CreateRadialGradientCookie) Check Uses

func (cook CreateRadialGradientCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type CreateSolidFillCookie Uses

type CreateSolidFillCookie struct {
    *xgb.Cookie
}

CreateSolidFillCookie is a cookie used only for CreateSolidFill requests.

func CreateSolidFill Uses

func CreateSolidFill(c *xgb.Conn, Picture Picture, Color Color) CreateSolidFillCookie

CreateSolidFill sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CreateSolidFillChecked Uses

func CreateSolidFillChecked(c *xgb.Conn, Picture Picture, Color Color) CreateSolidFillCookie

CreateSolidFillChecked sends a checked request. If an error occurs, it can be retrieved using CreateSolidFillCookie.Check()

func (CreateSolidFillCookie) Check Uses

func (cook CreateSolidFillCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type Directformat Uses

type Directformat struct {
    RedShift   uint16
    RedMask    uint16
    GreenShift uint16
    GreenMask  uint16
    BlueShift  uint16
    BlueMask   uint16
    AlphaShift uint16
    AlphaMask  uint16
}

func (Directformat) Bytes Uses

func (v Directformat) Bytes() []byte

Bytes writes a Directformat value to a byte slice.

type FillRectanglesCookie Uses

type FillRectanglesCookie struct {
    *xgb.Cookie
}

FillRectanglesCookie is a cookie used only for FillRectangles requests.

func FillRectangles Uses

func FillRectangles(c *xgb.Conn, Op byte, Dst Picture, Color Color, Rects []xproto.Rectangle) FillRectanglesCookie

FillRectangles sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func FillRectanglesChecked Uses

func FillRectanglesChecked(c *xgb.Conn, Op byte, Dst Picture, Color Color, Rects []xproto.Rectangle) FillRectanglesCookie

FillRectanglesChecked sends a checked request. If an error occurs, it can be retrieved using FillRectanglesCookie.Check()

func (FillRectanglesCookie) Check Uses

func (cook FillRectanglesCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type Fixed Uses

type Fixed int32

type FreeGlyphSetCookie Uses

type FreeGlyphSetCookie struct {
    *xgb.Cookie
}

FreeGlyphSetCookie is a cookie used only for FreeGlyphSet requests.

func FreeGlyphSet Uses

func FreeGlyphSet(c *xgb.Conn, Glyphset Glyphset) FreeGlyphSetCookie

FreeGlyphSet sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func FreeGlyphSetChecked Uses

func FreeGlyphSetChecked(c *xgb.Conn, Glyphset Glyphset) FreeGlyphSetCookie

FreeGlyphSetChecked sends a checked request. If an error occurs, it can be retrieved using FreeGlyphSetCookie.Check()

func (FreeGlyphSetCookie) Check Uses

func (cook FreeGlyphSetCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type FreeGlyphsCookie Uses

type FreeGlyphsCookie struct {
    *xgb.Cookie
}

FreeGlyphsCookie is a cookie used only for FreeGlyphs requests.

func FreeGlyphs Uses

func FreeGlyphs(c *xgb.Conn, Glyphset Glyphset, Glyphs []Glyph) FreeGlyphsCookie

FreeGlyphs sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func FreeGlyphsChecked Uses

func FreeGlyphsChecked(c *xgb.Conn, Glyphset Glyphset, Glyphs []Glyph) FreeGlyphsCookie

FreeGlyphsChecked sends a checked request. If an error occurs, it can be retrieved using FreeGlyphsCookie.Check()

func (FreeGlyphsCookie) Check Uses

func (cook FreeGlyphsCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type FreePictureCookie Uses

type FreePictureCookie struct {
    *xgb.Cookie
}

FreePictureCookie is a cookie used only for FreePicture requests.

func FreePicture Uses

func FreePicture(c *xgb.Conn, Picture Picture) FreePictureCookie

FreePicture sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func FreePictureChecked Uses

func FreePictureChecked(c *xgb.Conn, Picture Picture) FreePictureCookie

FreePictureChecked sends a checked request. If an error occurs, it can be retrieved using FreePictureCookie.Check()

func (FreePictureCookie) Check Uses

func (cook FreePictureCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type Glyph Uses

type Glyph uint32

type GlyphError Uses

type GlyphError struct {
    Sequence uint16
    NiceName string
}

func (GlyphError) BadId Uses

func (err GlyphError) BadId() uint32

BadId returns the 'BadValue' number if one exists for the BadGlyph error. If no bad value exists, 0 is returned.

func (GlyphError) Error Uses

func (err GlyphError) Error() string

func (GlyphError) SequenceId Uses

func (err GlyphError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadGlyph error. This is mostly used internally.

type GlyphSetError Uses

type GlyphSetError struct {
    Sequence uint16
    NiceName string
}

func (GlyphSetError) BadId Uses

func (err GlyphSetError) BadId() uint32

BadId returns the 'BadValue' number if one exists for the BadGlyphSet error. If no bad value exists, 0 is returned.

func (GlyphSetError) Error Uses

func (err GlyphSetError) Error() string

func (GlyphSetError) SequenceId Uses

func (err GlyphSetError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadGlyphSet error. This is mostly used internally.

type Glyphinfo Uses

type Glyphinfo struct {
    Width  uint16
    Height uint16
    X      int16
    Y      int16
    XOff   int16
    YOff   int16
}

func (Glyphinfo) Bytes Uses

func (v Glyphinfo) Bytes() []byte

Bytes writes a Glyphinfo value to a byte slice.

type Glyphset Uses

type Glyphset uint32

func NewGlyphsetId Uses

func NewGlyphsetId(c *xgb.Conn) (Glyphset, error)

type Indexvalue Uses

type Indexvalue struct {
    Pixel uint32
    Red   uint16
    Green uint16
    Blue  uint16
    Alpha uint16
}

func (Indexvalue) Bytes Uses

func (v Indexvalue) Bytes() []byte

Bytes writes a Indexvalue value to a byte slice.

type Linefix Uses

type Linefix struct {
    P1  Pointfix
    P2  Pointfix
}

func (Linefix) Bytes Uses

func (v Linefix) Bytes() []byte

Bytes writes a Linefix value to a byte slice.

type PictFormatError Uses

type PictFormatError struct {
    Sequence uint16
    NiceName string
}

func (PictFormatError) BadId Uses

func (err PictFormatError) BadId() uint32

BadId returns the 'BadValue' number if one exists for the BadPictFormat error. If no bad value exists, 0 is returned.

func (PictFormatError) Error Uses

func (err PictFormatError) Error() string

func (PictFormatError) SequenceId Uses

func (err PictFormatError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadPictFormat error. This is mostly used internally.

type PictOpError Uses

type PictOpError struct {
    Sequence uint16
    NiceName string
}

func (PictOpError) BadId Uses

func (err PictOpError) BadId() uint32

BadId returns the 'BadValue' number if one exists for the BadPictOp error. If no bad value exists, 0 is returned.

func (PictOpError) Error Uses

func (err PictOpError) Error() string

func (PictOpError) SequenceId Uses

func (err PictOpError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadPictOp error. This is mostly used internally.

type Pictdepth Uses

type Pictdepth struct {
    Depth byte
    // padding: 1 bytes
    NumVisuals uint16
    // padding: 4 bytes
    Visuals []Pictvisual // size: xgb.Pad((int(NumVisuals) * 8))
}

func (Pictdepth) Bytes Uses

func (v Pictdepth) Bytes() []byte

Bytes writes a Pictdepth value to a byte slice.

type Pictformat Uses

type Pictformat uint32

func NewPictformatId Uses

func NewPictformatId(c *xgb.Conn) (Pictformat, error)

type Pictforminfo Uses

type Pictforminfo struct {
    Id    Pictformat
    Type  byte
    Depth byte
    // padding: 2 bytes
    Direct   Directformat
    Colormap xproto.Colormap
}

func (Pictforminfo) Bytes Uses

func (v Pictforminfo) Bytes() []byte

Bytes writes a Pictforminfo value to a byte slice.

type Pictscreen Uses

type Pictscreen struct {
    NumDepths uint32
    Fallback  Pictformat
    Depths    []Pictdepth // size: PictdepthListSize(Depths)
}

func (Pictscreen) Bytes Uses

func (v Pictscreen) Bytes() []byte

Bytes writes a Pictscreen value to a byte slice.

type Picture Uses

type Picture uint32

func NewPictureId Uses

func NewPictureId(c *xgb.Conn) (Picture, error)

type PictureError Uses

type PictureError struct {
    Sequence uint16
    NiceName string
}

func (PictureError) BadId Uses

func (err PictureError) BadId() uint32

BadId returns the 'BadValue' number if one exists for the BadPicture error. If no bad value exists, 0 is returned.

func (PictureError) Error Uses

func (err PictureError) Error() string

func (PictureError) SequenceId Uses

func (err PictureError) SequenceId() uint16

SequenceId returns the sequence id attached to the BadPicture error. This is mostly used internally.

type Pictvisual Uses

type Pictvisual struct {
    Visual xproto.Visualid
    Format Pictformat
}

func (Pictvisual) Bytes Uses

func (v Pictvisual) Bytes() []byte

Bytes writes a Pictvisual value to a byte slice.

type Pointfix Uses

type Pointfix struct {
    X   Fixed
    Y   Fixed
}

func (Pointfix) Bytes Uses

func (v Pointfix) Bytes() []byte

Bytes writes a Pointfix value to a byte slice.

type QueryFiltersCookie Uses

type QueryFiltersCookie struct {
    *xgb.Cookie
}

QueryFiltersCookie is a cookie used only for QueryFilters requests.

func QueryFilters Uses

func QueryFilters(c *xgb.Conn, Drawable xproto.Drawable) QueryFiltersCookie

QueryFilters sends a checked request. If an error occurs, it will be returned with the reply by calling QueryFiltersCookie.Reply()

func QueryFiltersUnchecked Uses

func QueryFiltersUnchecked(c *xgb.Conn, Drawable xproto.Drawable) QueryFiltersCookie

QueryFiltersUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func (QueryFiltersCookie) Reply Uses

func (cook QueryFiltersCookie) Reply() (*QueryFiltersReply, error)

Reply blocks and returns the reply data for a QueryFilters request.

type QueryFiltersReply Uses

type QueryFiltersReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    NumAliases uint32
    NumFilters uint32
    // padding: 16 bytes
    Aliases []uint16     // size: xgb.Pad((int(NumAliases) * 2))
    Filters []xproto.Str // size: xproto.StrListSize(Filters)
}

QueryFiltersReply represents the data returned from a QueryFilters request.

type QueryPictFormatsCookie Uses

type QueryPictFormatsCookie struct {
    *xgb.Cookie
}

QueryPictFormatsCookie is a cookie used only for QueryPictFormats requests.

func QueryPictFormats Uses

func QueryPictFormats(c *xgb.Conn) QueryPictFormatsCookie

QueryPictFormats sends a checked request. If an error occurs, it will be returned with the reply by calling QueryPictFormatsCookie.Reply()

func QueryPictFormatsUnchecked Uses

func QueryPictFormatsUnchecked(c *xgb.Conn) QueryPictFormatsCookie

QueryPictFormatsUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func (QueryPictFormatsCookie) Reply Uses

func (cook QueryPictFormatsCookie) Reply() (*QueryPictFormatsReply, error)

Reply blocks and returns the reply data for a QueryPictFormats request.

type QueryPictFormatsReply Uses

type QueryPictFormatsReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    NumFormats  uint32
    NumScreens  uint32
    NumDepths   uint32
    NumVisuals  uint32
    NumSubpixel uint32
    // padding: 4 bytes
    Formats []Pictforminfo // size: xgb.Pad((int(NumFormats) * 28))
    // alignment gap to multiple of 4
    Screens []Pictscreen // size: PictscreenListSize(Screens)
    // alignment gap to multiple of 4
    Subpixels []uint32 // size: xgb.Pad((int(NumSubpixel) * 4))
}

QueryPictFormatsReply represents the data returned from a QueryPictFormats request.

type QueryPictIndexValuesCookie Uses

type QueryPictIndexValuesCookie struct {
    *xgb.Cookie
}

QueryPictIndexValuesCookie is a cookie used only for QueryPictIndexValues requests.

func QueryPictIndexValues Uses

func QueryPictIndexValues(c *xgb.Conn, Format Pictformat) QueryPictIndexValuesCookie

QueryPictIndexValues sends a checked request. If an error occurs, it will be returned with the reply by calling QueryPictIndexValuesCookie.Reply()

func QueryPictIndexValuesUnchecked Uses

func QueryPictIndexValuesUnchecked(c *xgb.Conn, Format Pictformat) QueryPictIndexValuesCookie

QueryPictIndexValuesUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func (QueryPictIndexValuesCookie) Reply Uses

func (cook QueryPictIndexValuesCookie) Reply() (*QueryPictIndexValuesReply, error)

Reply blocks and returns the reply data for a QueryPictIndexValues request.

type QueryPictIndexValuesReply Uses

type QueryPictIndexValuesReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    NumValues uint32
    // padding: 20 bytes
    Values []Indexvalue // size: xgb.Pad((int(NumValues) * 12))
}

QueryPictIndexValuesReply represents the data returned from a QueryPictIndexValues request.

type QueryVersionCookie Uses

type QueryVersionCookie struct {
    *xgb.Cookie
}

QueryVersionCookie is a cookie used only for QueryVersion requests.

func QueryVersion Uses

func QueryVersion(c *xgb.Conn, ClientMajorVersion uint32, ClientMinorVersion uint32) QueryVersionCookie

QueryVersion sends a checked request. If an error occurs, it will be returned with the reply by calling QueryVersionCookie.Reply()

func QueryVersionUnchecked Uses

func QueryVersionUnchecked(c *xgb.Conn, ClientMajorVersion uint32, ClientMinorVersion uint32) QueryVersionCookie

QueryVersionUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func (QueryVersionCookie) Reply Uses

func (cook QueryVersionCookie) Reply() (*QueryVersionReply, error)

Reply blocks and returns the reply data for a QueryVersion request.

type QueryVersionReply Uses

type QueryVersionReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    MajorVersion uint32
    MinorVersion uint32
}

QueryVersionReply represents the data returned from a QueryVersion request.

type ReferenceGlyphSetCookie Uses

type ReferenceGlyphSetCookie struct {
    *xgb.Cookie
}

ReferenceGlyphSetCookie is a cookie used only for ReferenceGlyphSet requests.

func ReferenceGlyphSet Uses

func ReferenceGlyphSet(c *xgb.Conn, Gsid Glyphset, Existing Glyphset) ReferenceGlyphSetCookie

ReferenceGlyphSet sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func ReferenceGlyphSetChecked Uses

func ReferenceGlyphSetChecked(c *xgb.Conn, Gsid Glyphset, Existing Glyphset) ReferenceGlyphSetCookie

ReferenceGlyphSetChecked sends a checked request. If an error occurs, it can be retrieved using ReferenceGlyphSetCookie.Check()

func (ReferenceGlyphSetCookie) Check Uses

func (cook ReferenceGlyphSetCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type SetPictureClipRectanglesCookie Uses

type SetPictureClipRectanglesCookie struct {
    *xgb.Cookie
}

SetPictureClipRectanglesCookie is a cookie used only for SetPictureClipRectangles requests.

func SetPictureClipRectangles Uses

func SetPictureClipRectangles(c *xgb.Conn, Picture Picture, ClipXOrigin int16, ClipYOrigin int16, Rectangles []xproto.Rectangle) SetPictureClipRectanglesCookie

SetPictureClipRectangles sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func SetPictureClipRectanglesChecked Uses

func SetPictureClipRectanglesChecked(c *xgb.Conn, Picture Picture, ClipXOrigin int16, ClipYOrigin int16, Rectangles []xproto.Rectangle) SetPictureClipRectanglesCookie

SetPictureClipRectanglesChecked sends a checked request. If an error occurs, it can be retrieved using SetPictureClipRectanglesCookie.Check()

func (SetPictureClipRectanglesCookie) Check Uses

func (cook SetPictureClipRectanglesCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type SetPictureFilterCookie Uses

type SetPictureFilterCookie struct {
    *xgb.Cookie
}

SetPictureFilterCookie is a cookie used only for SetPictureFilter requests.

func SetPictureFilter Uses

func SetPictureFilter(c *xgb.Conn, Picture Picture, FilterLen uint16, Filter string, Values []Fixed) SetPictureFilterCookie

SetPictureFilter sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func SetPictureFilterChecked Uses

func SetPictureFilterChecked(c *xgb.Conn, Picture Picture, FilterLen uint16, Filter string, Values []Fixed) SetPictureFilterCookie

SetPictureFilterChecked sends a checked request. If an error occurs, it can be retrieved using SetPictureFilterCookie.Check()

func (SetPictureFilterCookie) Check Uses

func (cook SetPictureFilterCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type SetPictureTransformCookie Uses

type SetPictureTransformCookie struct {
    *xgb.Cookie
}

SetPictureTransformCookie is a cookie used only for SetPictureTransform requests.

func SetPictureTransform Uses

func SetPictureTransform(c *xgb.Conn, Picture Picture, Transform Transform) SetPictureTransformCookie

SetPictureTransform sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func SetPictureTransformChecked Uses

func SetPictureTransformChecked(c *xgb.Conn, Picture Picture, Transform Transform) SetPictureTransformCookie

SetPictureTransformChecked sends a checked request. If an error occurs, it can be retrieved using SetPictureTransformCookie.Check()

func (SetPictureTransformCookie) Check Uses

func (cook SetPictureTransformCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type Spanfix Uses

type Spanfix struct {
    L   Fixed
    R   Fixed
    Y   Fixed
}

func (Spanfix) Bytes Uses

func (v Spanfix) Bytes() []byte

Bytes writes a Spanfix value to a byte slice.

type Transform Uses

type Transform struct {
    Matrix11 Fixed
    Matrix12 Fixed
    Matrix13 Fixed
    Matrix21 Fixed
    Matrix22 Fixed
    Matrix23 Fixed
    Matrix31 Fixed
    Matrix32 Fixed
    Matrix33 Fixed
}

func (Transform) Bytes Uses

func (v Transform) Bytes() []byte

Bytes writes a Transform value to a byte slice.

type Trap Uses

type Trap struct {
    Top Spanfix
    Bot Spanfix
}

func (Trap) Bytes Uses

func (v Trap) Bytes() []byte

Bytes writes a Trap value to a byte slice.

type Trapezoid Uses

type Trapezoid struct {
    Top    Fixed
    Bottom Fixed
    Left   Linefix
    Right  Linefix
}

func (Trapezoid) Bytes Uses

func (v Trapezoid) Bytes() []byte

Bytes writes a Trapezoid value to a byte slice.

type TrapezoidsCookie Uses

type TrapezoidsCookie struct {
    *xgb.Cookie
}

TrapezoidsCookie is a cookie used only for Trapezoids requests.

func Trapezoids Uses

func Trapezoids(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, SrcX int16, SrcY int16, Traps []Trapezoid) TrapezoidsCookie

Trapezoids sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func TrapezoidsChecked Uses

func TrapezoidsChecked(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, SrcX int16, SrcY int16, Traps []Trapezoid) TrapezoidsCookie

TrapezoidsChecked sends a checked request. If an error occurs, it can be retrieved using TrapezoidsCookie.Check()

func (TrapezoidsCookie) Check Uses

func (cook TrapezoidsCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type TriFanCookie Uses

type TriFanCookie struct {
    *xgb.Cookie
}

TriFanCookie is a cookie used only for TriFan requests.

func TriFan Uses

func TriFan(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, SrcX int16, SrcY int16, Points []Pointfix) TriFanCookie

TriFan sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func TriFanChecked Uses

func TriFanChecked(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, SrcX int16, SrcY int16, Points []Pointfix) TriFanCookie

TriFanChecked sends a checked request. If an error occurs, it can be retrieved using TriFanCookie.Check()

func (TriFanCookie) Check Uses

func (cook TriFanCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type TriStripCookie Uses

type TriStripCookie struct {
    *xgb.Cookie
}

TriStripCookie is a cookie used only for TriStrip requests.

func TriStrip Uses

func TriStrip(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, SrcX int16, SrcY int16, Points []Pointfix) TriStripCookie

TriStrip sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func TriStripChecked Uses

func TriStripChecked(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, SrcX int16, SrcY int16, Points []Pointfix) TriStripCookie

TriStripChecked sends a checked request. If an error occurs, it can be retrieved using TriStripCookie.Check()

func (TriStripCookie) Check Uses

func (cook TriStripCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

type Triangle Uses

type Triangle struct {
    P1  Pointfix
    P2  Pointfix
    P3  Pointfix
}

func (Triangle) Bytes Uses

func (v Triangle) Bytes() []byte

Bytes writes a Triangle value to a byte slice.

type TrianglesCookie Uses

type TrianglesCookie struct {
    *xgb.Cookie
}

TrianglesCookie is a cookie used only for Triangles requests.

func Triangles Uses

func Triangles(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, SrcX int16, SrcY int16, Triangles []Triangle) TrianglesCookie

Triangles sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func TrianglesChecked Uses

func TrianglesChecked(c *xgb.Conn, Op byte, Src Picture, Dst Picture, MaskFormat Pictformat, SrcX int16, SrcY int16, Triangles []Triangle) TrianglesCookie

TrianglesChecked sends a checked request. If an error occurs, it can be retrieved using TrianglesCookie.Check()

func (TrianglesCookie) Check Uses

func (cook TrianglesCookie) Check() error

Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.

Package render imports 2 packages (graph). Updated 2017-06-06. Refresh now. Tools for package owners.