Romestead Assembly Reference

Candide.Graphics.Fonts.CandideFontSource

Type JSON

public class in Candide.Graphics.Fonts

Methods9
Properties0
Fields6
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.Graphics.Fonts
  • Base typeSystem.Object
  • InterfacesFontStashSharp.Interfaces.IFontSource, System.IDisposable
  • Hash3E4D08440DB6B66A36C246D803950269425AE91BCC82D1417D7D1E78D8D8D205

Relationships

Base type

System.Object

Interfaces

  • FontStashSharp.Interfaces.IFontSource
  • System.IDisposable

Fields

NameVisibilitySignature
_ascentprivateprivate System.Int32 _ascent
_descentprivateprivate System.Int32 _descent
_fontpublicpublic StbTrueType.stbtt_fontinfo _font
_kerningsprivateprivate FontStashSharp.Int32Map<System.Int32> _kernings
_lineHeightprivateprivate System.Int32 _lineHeight
_settingsprivateprivate CandideFontLoader.CandideFontLoaderSettings _settings

Methods

CalculateScale

private System.Single CalculateScale(System.Single size)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Single
  • StaticFalse
  • VirtualFalse
  • Hash25CD1A5CA7BF47E7FA60AD77AC5F20D1B7A7FF089EA7B1B524B72DA07A6EDF03
  • Body hashE119200D23D25239A31ACDE72BB328DD0953911F886388DFA70F95429808FA62
  • IL size13
Referenced calls
  • StbTrueTypeSharp.StbTrueType::stbtt_ScaleForPixelHeight(StbTrueType.stbtt_fontinfo, System.Single)
Called by

Dispose

private System.Void Dispose(System.Boolean disposing)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashEB166768D325A7DDA344943A7C0C222ADABE05C354559249CDF8E6EE4AF3F020
  • Body hash807D4126BB7D1A0A9387CF0D4AA3E165DF1276F6186EA0F5EA3B081DECAFC0C6
  • IL size30
Referenced calls
  • StbTrueType.stbtt_fontinfo::Dispose()
Called by

Dispose

public System.Void Dispose()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash5A26209976E4AB531FA169DE10F8EC60B33ADE4FBD1768B8CA9BA884BDC4AC64
  • Body hashD786A0FFFF2AC41E35056F6A00503CD4E1C19A57670D552851972FADF136573C
  • IL size14
Referenced calls

Finalize

protected System.Void Finalize()

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash482279BD144DE63767361140417A91AA3A6BA369B58A00A1EEBBBF88307CB115
  • Body hashC6AE32FFCFE92A53A6B7B741266E516834DCFC89521CDDEC950E2D20BC7482CF
  • IL size17
Referenced calls

GetGlyphId

public System.Nullable<System.Int32> GetGlyphId(System.Int32 codepoint)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Nullable<System.Int32>
  • StaticFalse
  • VirtualTrue
  • Hash2089639FB4CB3F49760E883CE31F8E254A52599EDBE37B439CFF0E92BD7EA41A
  • Body hash36B6C56399F02209782361602E18FBD1DC5B6A5DD1E8C03DD947948DF99E417A
  • IL size33
Referenced calls
  • StbTrueTypeSharp.StbTrueType::stbtt_FindGlyphIndex(StbTrueType.stbtt_fontinfo, System.Int32)
  • System.Nullable<System.Int32>::.ctor(!0)

GetGlyphKernAdvance

public System.Int32 GetGlyphKernAdvance(System.Int32 glyph1, System.Int32 glyph2, System.Single fontSize)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Int32
  • StaticFalse
  • VirtualTrue
  • Hash4B4DAA9FA40CCA67B162431D3FBB6BB51A955DC807F70BF973013FBC2E29F0ED
  • Body hashC8AA429FAD92A4185C18294B03098CF103DB9C9886F3EBC27E673C86702F0A47
  • IL size69
Referenced calls

GetGlyphMetrics

public System.Void GetGlyphMetrics(System.Int32 glyphId, System.Single fontSize, out System.Int32& advance, out System.Int32& x0, out System.Int32& y0, out System.Int32& x1, out System.Int32& y1)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashF9A62A068D3D40CE425C0435991132CC36B0E944D3FC4DFE3EFDCF0EC3C8C73E
  • Body hash41F55AB58246DCA5BD3D9D46A97B5C12122A6A87C725C30126705707BA06DA12
  • IL size157
Referenced calls
  • Candide.Graphics.Fonts.CandideFontSource::CalculateScale(System.Single)
  • StbTrueTypeSharp.StbTrueType::stbtt_GetGlyphHMetrics(StbTrueType.stbtt_fontinfo, System.Int32, System.Int32*, System.Int32*)
  • StbTrueTypeSharp.StbTrueType::stbtt_GetGlyphBitmapBox(StbTrueType.stbtt_fontinfo, System.Int32, System.Single, System.Single, System.Int32*, System.Int32*, System.Int32*, System.Int32*)

GetMetricsForSize

public System.Void GetMetricsForSize(System.Single fontSize, out System.Int32& ascent, out System.Int32& descent, out System.Int32& lineHeight)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashF2FD34714C56E316E0439DC1A8951A1274F57B6CE6D0F62A7CCB3A6E8F14C190
  • Body hashA5FEFAF5ED915B89CB7E2A04831F6708BBC0A82793BC5B5BFBD3F181E76DEF04
  • IL size64
Referenced calls

RasterizeGlyphBitmap

public System.Void RasterizeGlyphBitmap(System.Int32 glyphId, System.Single fontSize, System.Byte[] buffer, System.Int32 startIndex, System.Int32 outWidth, System.Int32 outHeight, System.Int32 outStride)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash97CE20706C7BA955D657A93CA5DED90BB28862C50558620C08B962EA7EB4EC12
  • Body hash756DA948F425C21DEF8BD330EA457429C0919C0DFD4E8C5436F4F55F998E9A73
  • IL size186
Referenced calls
  • Candide.Graphics.Fonts.CandideFontSource::CalculateScale(System.Single)
  • StbTrueTypeSharp.StbTrueType::stbtt_MakeGlyphBitmap(StbTrueType.stbtt_fontinfo, System.Byte*, System.Int32, System.Int32, System.Int32, System.Single, System.Single, System.Int32)
  • StbTrueTypeSharp.StbTrueType::stbtt__v_prefilter(System.Byte*, System.Int32, System.Int32, System.Int32, System.UInt32)
  • StbTrueTypeSharp.StbTrueType::stbtt__h_prefilter(System.Byte*, System.Int32, System.Int32, System.Int32, System.UInt32)