Documentation
¶
Overview ¶
Package output advertises backend outputs to clients as wl_output and zxdg_output_v1 objects, with their place in the logical layout and scale.
Index ¶
- type Manager
- type Output
- func (o *Output) AppendResources(out []*sw.WlOutput, c *server.Client) []*sw.WlOutput
- func (o *Output) Backend() backend.Output
- func (o *Output) Changed() error
- func (o *Output) Logical() image.Rectangle
- func (o *Output) LogicalSize() image.Point
- func (o *Output) PixelSize() image.Point
- func (o *Output) Position() image.Point
- func (o *Output) Remove() error
- func (o *Output) Resources(c *server.Client) []*sw.WlOutput
- func (o *Output) Scale() Scale
- func (o *Output) Transform() render.Transform
- func (o *Output) Update(position image.Point, scale Scale, transform render.Transform) error
- func (o *Output) XPosition() image.Point
- func (o *Output) XRect() image.Rectangle
- type Scale
- func (s Scale) Ceil() int32
- func (s Scale) DeviceAt(logical, px int, of Scale) int
- func (s Scale) DevicePoint(p image.Point) image.Point
- func (s Scale) DevicePointAt(logical, px image.Point, of Scale) image.Point
- func (s Scale) Float() float64
- func (s Scale) LogicalPoint(p image.Point) image.Point
- func (s Scale) Rect(r image.Rectangle) image.Rectangle
- func (s Scale) ToDevice(v int) int
- func (s Scale) ToLogical(px int) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
type Output ¶
type Output struct {
// contains filtered or unexported fields
}
func (*Output) AppendResources ¶
func (*Output) LogicalSize ¶
Click to show internal directories.
Click to hide internal directories.