Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
gomatcha.io/matcha/pb/color.proto gomatcha.io/matcha/pb/image.proto
It has these top-level messages:
Color Image ImageProperties ImageOrResource
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageDecode ¶
Types ¶
type Color ¶
type Color struct { Red uint32 `protobuf:"varint,1,opt,name=red" json:"red,omitempty"` Blue uint32 `protobuf:"varint,2,opt,name=blue" json:"blue,omitempty"` Green uint32 `protobuf:"varint,3,opt,name=green" json:"green,omitempty"` Alpha uint32 `protobuf:"varint,4,opt,name=alpha" json:"alpha,omitempty"` }
func ColorEncode ¶
func (*Color) Descriptor ¶
func (*Color) ProtoMessage ¶
func (*Color) ProtoMessage()
type Image ¶
type Image struct { Width int64 `protobuf:"varint,1,opt,name=width" json:"width,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"` Stride int64 `protobuf:"varint,4,opt,name=stride" json:"stride,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` }
func ImageEncode ¶
func (*Image) Descriptor ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
type ImageOrResource ¶
type ImageOrResource struct { Image *Image `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"` Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` }
func (*ImageOrResource) Descriptor ¶
func (*ImageOrResource) Descriptor() ([]byte, []int)
func (*ImageOrResource) GetImage ¶
func (m *ImageOrResource) GetImage() *Image
func (*ImageOrResource) GetPath ¶
func (m *ImageOrResource) GetPath() string
func (*ImageOrResource) ProtoMessage ¶
func (*ImageOrResource) ProtoMessage()
func (*ImageOrResource) Reset ¶
func (m *ImageOrResource) Reset()
func (*ImageOrResource) String ¶
func (m *ImageOrResource) String() string
type ImageProperties ¶
type ImageProperties struct { Width int64 `protobuf:"varint,1,opt,name=width" json:"width,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"` Scale float64 `protobuf:"fixed64,3,opt,name=scale" json:"scale,omitempty"` }
func (*ImageProperties) Descriptor ¶
func (*ImageProperties) Descriptor() ([]byte, []int)
func (*ImageProperties) GetHeight ¶
func (m *ImageProperties) GetHeight() int64
func (*ImageProperties) GetScale ¶
func (m *ImageProperties) GetScale() float64
func (*ImageProperties) GetWidth ¶
func (m *ImageProperties) GetWidth() int64
func (*ImageProperties) ProtoMessage ¶
func (*ImageProperties) ProtoMessage()
func (*ImageProperties) Reset ¶
func (m *ImageProperties) Reset()
func (*ImageProperties) String ¶
func (m *ImageProperties) String() string
Directories ¶
Path | Synopsis |
---|---|
Package app is a generated protocol buffer package.
|
Package app is a generated protocol buffer package. |
Package env is a generated protocol buffer package.
|
Package env is a generated protocol buffer package. |
Package keyboard is a generated protocol buffer package.
|
Package keyboard is a generated protocol buffer package. |
Package layout is a generated protocol buffer package.
|
Package layout is a generated protocol buffer package. |
Package paint is a generated protocol buffer package.
|
Package paint is a generated protocol buffer package. |
Package text is a generated protocol buffer package.
|
Package text is a generated protocol buffer package. |
Package touch is a generated protocol buffer package.
|
Package touch is a generated protocol buffer package. |
Package view is a generated protocol buffer package.
|
Package view is a generated protocol buffer package. |
alert
Package alert is a generated protocol buffer package.
|
Package alert is a generated protocol buffer package. |
button
Package button is a generated protocol buffer package.
|
Package button is a generated protocol buffer package. |
imageview
Package imageview is a generated protocol buffer package.
|
Package imageview is a generated protocol buffer package. |
progressview
Package progressview is a generated protocol buffer package.
|
Package progressview is a generated protocol buffer package. |
scrollview
Package scrollview is a generated protocol buffer package.
|
Package scrollview is a generated protocol buffer package. |
segmentview
Package segmentview is a generated protocol buffer package.
|
Package segmentview is a generated protocol buffer package. |
slider
Package slider is a generated protocol buffer package.
|
Package slider is a generated protocol buffer package. |
stacknav
Package stacknav is a generated protocol buffer package.
|
Package stacknav is a generated protocol buffer package. |
switchview
Package switchview is a generated protocol buffer package.
|
Package switchview is a generated protocol buffer package. |
tabscreen
Package tabscreen is a generated protocol buffer package.
|
Package tabscreen is a generated protocol buffer package. |
textinput
Package textinput is a generated protocol buffer package.
|
Package textinput is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.