Documentation
¶
Index ¶
- type FontBuilderClient
- func (c *FontBuilderClient) Build(ctx context.Context) (int64, error)
- func (c *FontBuilderClient) SetFontVariationSettings1(ctx context.Context, arg0 int64) (int64, error)
- func (c *FontBuilderClient) SetFontVariationSettings1_1(ctx context.Context, arg0 string) (int64, error)
- func (c *FontBuilderClient) SetSlant(ctx context.Context, arg0 int32) (int64, error)
- func (c *FontBuilderClient) SetTtcIndex(ctx context.Context, arg0 int32) (int64, error)
- func (c *FontBuilderClient) SetWeight(ctx context.Context, arg0 int32) (int64, error)
- type FontClient
- func (c *FontClient) Equals(ctx context.Context, arg0 int64) (bool, error)
- func (c *FontClient) GetAxes(ctx context.Context) (int64, error)
- func (c *FontClient) GetBuffer(ctx context.Context) (int64, error)
- func (c *FontClient) GetFile(ctx context.Context) (int64, error)
- func (c *FontClient) GetGlyphBounds(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) (float32, error)
- func (c *FontClient) GetLocaleList(ctx context.Context) (int64, error)
- func (c *FontClient) GetMetrics(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *FontClient) GetSourceIdentifier(ctx context.Context) (int32, error)
- func (c *FontClient) GetStyle(ctx context.Context) (int64, error)
- func (c *FontClient) GetTtcIndex(ctx context.Context) (int32, error)
- func (c *FontClient) HashCode(ctx context.Context) (int32, error)
- func (c *FontClient) ToString(ctx context.Context) (string, error)
- type FontFamilyBuilderClient
- type FontFamilyClient
- type FontStyleClient
- func (c *FontStyleClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error)
- func (c *FontStyleClient) GetSlant(ctx context.Context, handle int64) (int32, error)
- func (c *FontStyleClient) GetWeight(ctx context.Context, handle int64) (int32, error)
- func (c *FontStyleClient) HashCode(ctx context.Context, handle int64) (int32, error)
- func (c *FontStyleClient) ToString(ctx context.Context, handle int64) (string, error)
- type FontVariationAxisClient
- func (c *FontVariationAxisClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error)
- func (c *FontVariationAxisClient) FromFontVariationSettings(ctx context.Context, handle int64, arg0 string) (int64, error)
- func (c *FontVariationAxisClient) GetStyleValue(ctx context.Context, handle int64) (float32, error)
- func (c *FontVariationAxisClient) GetTag(ctx context.Context, handle int64) (string, error)
- func (c *FontVariationAxisClient) HashCode(ctx context.Context, handle int64) (int32, error)
- func (c *FontVariationAxisClient) ToFontVariationSettings(ctx context.Context, handle int64, arg0 int64) (string, error)
- func (c *FontVariationAxisClient) ToString(ctx context.Context, handle int64) (string, error)
- type SystemFontsClient
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) SetTtcIndex ¶
SetTtcIndex calls the SetTtcIndex 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) 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 ¶
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.
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) Build ¶
func (c *FontFamilyBuilderClient) Build(ctx context.Context) (int64, error)
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.
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.
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 ¶
GetStyleValue calls the GetStyleValue RPC.
func (*FontVariationAxisClient) ToFontVariationSettings ¶
func (c *FontVariationAxisClient) ToFontVariationSettings(ctx context.Context, handle int64, arg0 int64) (string, error)
ToFontVariationSettings calls the ToFontVariationSettings 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.