glyphs

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Glyph

type Glyph struct {
	HorizAdvX            float64     `protobuf:"fixed64,1,opt,name=horiz_adv_x,json=horizAdvX,proto3" json:"horiz_adv_x,omitempty"`
	Unicode              string      `protobuf:"bytes,2,opt,name=unicode,proto3" json:"unicode,omitempty"`
	GerberLP             string      `protobuf:"bytes,3,opt,name=gerber_l_p,json=gerberLP,proto3" json:"gerber_l_p,omitempty"`
	PathSteps            []*PathStep `protobuf:"bytes,4,rep,name=path_steps,json=pathSteps,proto3" json:"path_steps,omitempty"`
	Mbb                  *MBB        `protobuf:"bytes,5,opt,name=mbb,proto3" json:"mbb,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Glyph) Descriptor

func (*Glyph) Descriptor() ([]byte, []int)

func (*Glyph) GetGerberLP

func (m *Glyph) GetGerberLP() string

func (*Glyph) GetHorizAdvX

func (m *Glyph) GetHorizAdvX() float64

func (*Glyph) GetMbb

func (m *Glyph) GetMbb() *MBB

func (*Glyph) GetPathSteps

func (m *Glyph) GetPathSteps() []*PathStep

func (*Glyph) GetUnicode

func (m *Glyph) GetUnicode() string

func (*Glyph) ProtoMessage

func (*Glyph) ProtoMessage()

func (*Glyph) Reset

func (m *Glyph) Reset()

func (*Glyph) String

func (m *Glyph) String() string

func (*Glyph) XXX_DiscardUnknown

func (m *Glyph) XXX_DiscardUnknown()

func (*Glyph) XXX_Marshal

func (m *Glyph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Glyph) XXX_Merge

func (dst *Glyph) XXX_Merge(src proto.Message)

func (*Glyph) XXX_Size

func (m *Glyph) XXX_Size() int

func (*Glyph) XXX_Unmarshal

func (m *Glyph) XXX_Unmarshal(b []byte) error

type Glyphs

type Glyphs struct {
	Glyphs               []*Glyph `protobuf:"bytes,1,rep,name=glyphs,proto3" json:"glyphs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Glyphs) Descriptor

func (*Glyphs) Descriptor() ([]byte, []int)

func (*Glyphs) GetGlyphs

func (m *Glyphs) GetGlyphs() []*Glyph

func (*Glyphs) ProtoMessage

func (*Glyphs) ProtoMessage()

func (*Glyphs) Reset

func (m *Glyphs) Reset()

func (*Glyphs) String

func (m *Glyphs) String() string

func (*Glyphs) XXX_DiscardUnknown

func (m *Glyphs) XXX_DiscardUnknown()

func (*Glyphs) XXX_Marshal

func (m *Glyphs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Glyphs) XXX_Merge

func (dst *Glyphs) XXX_Merge(src proto.Message)

func (*Glyphs) XXX_Size

func (m *Glyphs) XXX_Size() int

func (*Glyphs) XXX_Unmarshal

func (m *Glyphs) XXX_Unmarshal(b []byte) error

type MBB

type MBB struct {
	Xmin                 float64  `protobuf:"fixed64,1,opt,name=xmin,proto3" json:"xmin,omitempty"`
	Ymin                 float64  `protobuf:"fixed64,2,opt,name=ymin,proto3" json:"ymin,omitempty"`
	Xmax                 float64  `protobuf:"fixed64,3,opt,name=xmax,proto3" json:"xmax,omitempty"`
	Ymax                 float64  `protobuf:"fixed64,4,opt,name=ymax,proto3" json:"ymax,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MBB) Descriptor

func (*MBB) Descriptor() ([]byte, []int)

func (*MBB) GetXmax

func (m *MBB) GetXmax() float64

func (*MBB) GetXmin

func (m *MBB) GetXmin() float64

func (*MBB) GetYmax

func (m *MBB) GetYmax() float64

func (*MBB) GetYmin

func (m *MBB) GetYmin() float64

func (*MBB) ProtoMessage

func (*MBB) ProtoMessage()

func (*MBB) Reset

func (m *MBB) Reset()

func (*MBB) String

func (m *MBB) String() string

func (*MBB) XXX_DiscardUnknown

func (m *MBB) XXX_DiscardUnknown()

func (*MBB) XXX_Marshal

func (m *MBB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MBB) XXX_Merge

func (dst *MBB) XXX_Merge(src proto.Message)

func (*MBB) XXX_Size

func (m *MBB) XXX_Size() int

func (*MBB) XXX_Unmarshal

func (m *MBB) XXX_Unmarshal(b []byte) error

type PathStep

type PathStep struct {
	C                    uint32    `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
	P                    []float64 `protobuf:"fixed64,2,rep,packed,name=p,proto3" json:"p,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*PathStep) Descriptor

func (*PathStep) Descriptor() ([]byte, []int)

func (*PathStep) GetC

func (m *PathStep) GetC() uint32

func (*PathStep) GetP

func (m *PathStep) GetP() []float64

func (*PathStep) ProtoMessage

func (*PathStep) ProtoMessage()

func (*PathStep) Reset

func (m *PathStep) Reset()

func (*PathStep) String

func (m *PathStep) String() string

func (*PathStep) XXX_DiscardUnknown

func (m *PathStep) XXX_DiscardUnknown()

func (*PathStep) XXX_Marshal

func (m *PathStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PathStep) XXX_Merge

func (dst *PathStep) XXX_Merge(src proto.Message)

func (*PathStep) XXX_Size

func (m *PathStep) XXX_Size() int

func (*PathStep) XXX_Unmarshal

func (m *PathStep) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL