Documentation ¶
Index ¶
- Constants
- Variables
- type Key
- func (*Key) Descriptor() ([]byte, []int)deprecated
- func (x *Key) GetControlPrecision() int64
- func (x *Key) GetPrecision() int64
- func (x *Key) GetTex() []byte
- func (x *Key) GetVersion() uint64
- func (*Key) ProtoMessage()
- func (x *Key) ProtoReflect() protoreflect.Message
- func (x *Key) Reset()
- func (x *Key) String() string
- type Value
Constants ¶
View Source
const Version = 1
Version of the protobuf format, increment when the content updates each time.
Variables ¶
View Source
var File_tex2svg_proto_tex2svg_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { // Version is the content version which could be // encoded in the protobuf. // // Currently the worst result is to regenerate all // the content from scratch, which is acceptible. Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Tex is the content of generated TeX payload. Tex []byte `protobuf:"bytes,2,opt,name=tex,proto3" json:"tex,omitempty"` // Precision is the precision value sent to the // scour SVG optimizer. Precision int64 `protobuf:"varint,3,opt,name=precision,proto3" json:"precision,omitempty"` // ControlPrecision is the control precision // value sent to the scour SVG optimizer. ControlPrecision int64 `protobuf:"varint,4,opt,name=controlPrecision,proto3" json:"controlPrecision,omitempty"` // contains filtered or unexported fields }
Key is the encoded content of key for looking up.
func (*Key) Descriptor
deprecated
func (*Key) GetControlPrecision ¶
func (*Key) GetPrecision ¶
func (*Key) GetVersion ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type Value ¶
type Value struct { // Data is the generated SVG data. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Baseline is the baseline value stored. Baseline float64 `protobuf:"fixed64,2,opt,name=baseline,proto3" json:"baseline,omitempty"` // contains filtered or unexported fields }
Value is the encoded content of generated result.
func (*Value) Descriptor
deprecated
func (*Value) GetBaseline ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.