fonts

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: CC0-1.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 FontBuilderClient

type FontBuilderClient struct {
	// contains filtered or unexported fields
}

FontBuilderClient wraps the gRPC FontBuilderService client.

func NewFontBuilderClient

func NewFontBuilderClient(cc grpc.ClientConnInterface) *FontBuilderClient

NewFontBuilderClient creates a new FontBuilder client.

func (*FontBuilderClient) Build

func (c *FontBuilderClient) Build(ctx context.Context) (int64, error)

Build calls the Build RPC.

func (*FontBuilderClient) SetFontVariationSettings1

func (c *FontBuilderClient) SetFontVariationSettings1(ctx context.Context, arg0 int64) (int64, error)

SetFontVariationSettings1 calls the SetFontVariationSettings1 RPC.

func (*FontBuilderClient) SetFontVariationSettings1_1

func (c *FontBuilderClient) SetFontVariationSettings1_1(ctx context.Context, arg0 string) (int64, error)

SetFontVariationSettings1_1 calls the SetFontVariationSettings1_1 RPC.

func (*FontBuilderClient) SetSlant

func (c *FontBuilderClient) SetSlant(ctx context.Context, arg0 int32) (int64, error)

SetSlant calls the SetSlant RPC.

func (*FontBuilderClient) SetTtcIndex

func (c *FontBuilderClient) SetTtcIndex(ctx context.Context, arg0 int32) (int64, error)

SetTtcIndex calls the SetTtcIndex RPC.

func (*FontBuilderClient) SetWeight

func (c *FontBuilderClient) SetWeight(ctx context.Context, arg0 int32) (int64, error)

SetWeight calls the SetWeight RPC.

type FontClient

type FontClient struct {
	// contains filtered or unexported fields
}

FontClient wraps the gRPC FontService client.

func NewFontClient

func NewFontClient(cc grpc.ClientConnInterface) *FontClient

NewFontClient creates a new Font client.

func (*FontClient) Equals

func (c *FontClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*FontClient) GetAxes

func (c *FontClient) GetAxes(ctx context.Context) (int64, error)

GetAxes calls the GetAxes RPC.

func (*FontClient) GetBuffer

func (c *FontClient) GetBuffer(ctx context.Context) (int64, error)

GetBuffer calls the GetBuffer RPC.

func (*FontClient) GetFile

func (c *FontClient) GetFile(ctx context.Context) (int64, error)

GetFile calls the GetFile RPC.

func (*FontClient) GetGlyphBounds

func (c *FontClient) GetGlyphBounds(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) (float32, error)

GetGlyphBounds calls the GetGlyphBounds RPC.

func (*FontClient) GetLocaleList

func (c *FontClient) GetLocaleList(ctx context.Context) (int64, error)

GetLocaleList calls the GetLocaleList RPC.

func (*FontClient) GetMetrics

func (c *FontClient) GetMetrics(ctx context.Context, arg0 int64, arg1 int64) error

GetMetrics calls the GetMetrics RPC.

func (*FontClient) GetSourceIdentifier

func (c *FontClient) GetSourceIdentifier(ctx context.Context) (int32, error)

GetSourceIdentifier calls the GetSourceIdentifier RPC.

func (*FontClient) GetStyle

func (c *FontClient) GetStyle(ctx context.Context) (int64, error)

GetStyle calls the GetStyle RPC.

func (*FontClient) GetTtcIndex

func (c *FontClient) GetTtcIndex(ctx context.Context) (int32, error)

GetTtcIndex calls the GetTtcIndex RPC.

func (*FontClient) HashCode

func (c *FontClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*FontClient) ToString

func (c *FontClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

type FontFamilyBuilderClient

type FontFamilyBuilderClient struct {
	// contains filtered or unexported fields
}

FontFamilyBuilderClient wraps the gRPC FontFamilyBuilderService client.

func NewFontFamilyBuilderClient

func NewFontFamilyBuilderClient(cc grpc.ClientConnInterface) *FontFamilyBuilderClient

NewFontFamilyBuilderClient creates a new FontFamilyBuilder client.

func (*FontFamilyBuilderClient) AddFont

func (c *FontFamilyBuilderClient) AddFont(ctx context.Context, arg0 int64) (int64, error)

AddFont calls the AddFont RPC.

func (*FontFamilyBuilderClient) Build

Build calls the Build RPC.

func (*FontFamilyBuilderClient) BuildVariableFamily

func (c *FontFamilyBuilderClient) BuildVariableFamily(ctx context.Context) (int64, error)

BuildVariableFamily calls the BuildVariableFamily RPC.

type FontFamilyClient

type FontFamilyClient struct {
	// contains filtered or unexported fields
}

FontFamilyClient wraps the gRPC FontFamilyService client.

func NewFontFamilyClient

func NewFontFamilyClient(cc grpc.ClientConnInterface) *FontFamilyClient

NewFontFamilyClient creates a new FontFamily client.

func (*FontFamilyClient) GetFont

func (c *FontFamilyClient) GetFont(ctx context.Context, arg0 int32) (int64, error)

GetFont calls the GetFont RPC.

func (*FontFamilyClient) GetSize

func (c *FontFamilyClient) GetSize(ctx context.Context) (int32, error)

GetSize calls the GetSize RPC.

type FontStyleClient

type FontStyleClient struct {
	// contains filtered or unexported fields
}

FontStyleClient wraps the gRPC FontStyleService client.

func NewFontStyleClient

func NewFontStyleClient(cc grpc.ClientConnInterface) *FontStyleClient

NewFontStyleClient creates a new FontStyle client.

func (*FontStyleClient) Equals

func (c *FontStyleClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*FontStyleClient) GetSlant

func (c *FontStyleClient) GetSlant(ctx context.Context, handle int64) (int32, error)

GetSlant calls the GetSlant RPC.

func (*FontStyleClient) GetWeight

func (c *FontStyleClient) GetWeight(ctx context.Context, handle int64) (int32, error)

GetWeight calls the GetWeight RPC.

func (*FontStyleClient) HashCode

func (c *FontStyleClient) HashCode(ctx context.Context, handle int64) (int32, error)

HashCode calls the HashCode RPC.

func (*FontStyleClient) ToString

func (c *FontStyleClient) ToString(ctx context.Context, handle int64) (string, error)

ToString calls the ToString RPC.

type FontVariationAxisClient

type FontVariationAxisClient struct {
	// contains filtered or unexported fields
}

FontVariationAxisClient wraps the gRPC FontVariationAxisService client.

func NewFontVariationAxisClient

func NewFontVariationAxisClient(cc grpc.ClientConnInterface) *FontVariationAxisClient

NewFontVariationAxisClient creates a new FontVariationAxis client.

func (*FontVariationAxisClient) Equals

func (c *FontVariationAxisClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*FontVariationAxisClient) FromFontVariationSettings

func (c *FontVariationAxisClient) FromFontVariationSettings(ctx context.Context, handle int64, arg0 string) (int64, error)

FromFontVariationSettings calls the FromFontVariationSettings RPC.

func (*FontVariationAxisClient) GetStyleValue

func (c *FontVariationAxisClient) GetStyleValue(ctx context.Context, handle int64) (float32, error)

GetStyleValue calls the GetStyleValue RPC.

func (*FontVariationAxisClient) GetTag

func (c *FontVariationAxisClient) GetTag(ctx context.Context, handle int64) (string, error)

GetTag calls the GetTag RPC.

func (*FontVariationAxisClient) HashCode

func (c *FontVariationAxisClient) HashCode(ctx context.Context, handle int64) (int32, error)

HashCode calls the HashCode RPC.

func (*FontVariationAxisClient) ToFontVariationSettings

func (c *FontVariationAxisClient) ToFontVariationSettings(ctx context.Context, handle int64, arg0 int64) (string, error)

ToFontVariationSettings calls the ToFontVariationSettings RPC.

func (*FontVariationAxisClient) ToString

func (c *FontVariationAxisClient) ToString(ctx context.Context, handle int64) (string, error)

ToString calls the ToString RPC.

type SystemFontsClient

type SystemFontsClient struct {
	// contains filtered or unexported fields
}

SystemFontsClient wraps the gRPC SystemFontsService client.

func NewSystemFontsClient

func NewSystemFontsClient(cc grpc.ClientConnInterface) *SystemFontsClient

NewSystemFontsClient creates a new SystemFonts client.

func (*SystemFontsClient) GetAvailableFonts

func (c *SystemFontsClient) GetAvailableFonts(ctx context.Context) (int64, error)

GetAvailableFonts calls the GetAvailableFonts RPC.

Jump to

Keyboard shortcuts

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