C# 클래스 DCPU16_ASM.Tools.CFontCharSet

Our Font set Object for internal usage/saving
파일 보기 프로젝트 열기: densitynz/DCPU-16-ASM.NET

공개 메소드들

메소드 설명
CFontCharSet ( ) : System

Constructor

Clear ( ) : void

Completely wipes the font clear

DumpToAssembly ( string _filename ) : bool

Dump font/character map to assembly file.

ImportFromDCPU ( cpuDoubleBuffer &_dcpu ) : void

Import font from a CURRENTLY RUNNING dcpu! I figure this'll be really handy for some people.

ImportFromImage ( string _fileName, string &_error ) : bool

Import from Image file

Load ( string _filename ) : bool

Load our Font character set from disk

Save ( ) : bool

Save our character set to disk

Save ( string _filename ) : bool

Save our character set to disk

비공개 메소드들

메소드 설명
ReadHeader ( MemoryStream &_mem ) : void

Reads our special character map header, if anyting doesn't match we'll throw an IO Exception

WriteHeader ( MemoryStream &_mem ) : void

Write character map header file

메소드 상세

CFontCharSet() 공개 메소드

Constructor
public CFontCharSet ( ) : System
리턴 System

Clear() 공개 메소드

Completely wipes the font clear
public Clear ( ) : void
리턴 void

DumpToAssembly() 공개 메소드

Dump font/character map to assembly file.
public DumpToAssembly ( string _filename ) : bool
_filename string
리턴 bool

ImportFromDCPU() 공개 메소드

Import font from a CURRENTLY RUNNING dcpu! I figure this'll be really handy for some people.
public ImportFromDCPU ( cpuDoubleBuffer &_dcpu ) : void
_dcpu DCPU16_ASM.Emulator.cpuDoubleBuffer dpu-16 reference
리턴 void

ImportFromImage() 공개 메소드

Import from Image file
public ImportFromImage ( string _fileName, string &_error ) : bool
_fileName string
_error string
리턴 bool

Load() 공개 메소드

Load our Font character set from disk
public Load ( string _filename ) : bool
_filename string
리턴 bool

Save() 공개 메소드

Save our character set to disk
public Save ( ) : bool
리턴 bool

Save() 공개 메소드

Save our character set to disk
public Save ( string _filename ) : bool
_filename string
리턴 bool