internal GlyphRendererParameters(GlyphMetrics glyph, float pointSize, float dpi) { this.Font = glyph.FontMetrics.Description.FontNameInvariantCulture?.ToUpper() ?? string.Empty; this.FontStyle = glyph.FontMetrics.Description.Style; this.GlyphIndex = glyph.GlyphId; this.PointSize = pointSize; this.Dpi = dpi; this.GlyphType = glyph.GlyphType; this.GlyphColor = glyph.GlyphColor ?? default; }
internal Glyph(GlyphMetrics glyphMetrics, float pointSize) { this.GlyphMetrics = glyphMetrics; this.pointSize = pointSize; }