mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-30 12:50:19 +00:00
27 lines
662 B
C#
27 lines
662 B
C#
using System;
|
|
|
|
namespace Orvid.Graphics.FontSupport.bdf
|
|
{
|
|
public class BDFFont : Font
|
|
{
|
|
private BDFFontContainer bdfContainer;
|
|
private BDFFontMetrics metrics;
|
|
|
|
public BDFFont(BDFFontContainer container)
|
|
: base(container.getFamily(), container.getStyle(), container.getSize())
|
|
{
|
|
bdfContainer = container;
|
|
metrics = new BDFFontMetrics(this);
|
|
}
|
|
|
|
public BDFFontContainer getContainer()
|
|
{
|
|
return bdfContainer;
|
|
}
|
|
|
|
public BDFFontMetrics getFontMetrics()
|
|
{
|
|
return metrics;
|
|
}
|
|
}
|
|
}
|