Méthode | Description | |
---|---|---|
AssignCharacterTextureCoordinates ( int asciiNumber, float &tVTop, float &tVBottom, float &tULeft, float &tURight ) : void | ||
BitmapFont ( Microsoft.Xna.Framework.Graphics.Texture2D fontTextureGraphic, string fontPattern ) : System | ||
BitmapFont ( string fontFile, SystemManagers managers ) : System | ||
BitmapFont ( string textureFile, string fontFile, SystemManagers managers ) : System | ||
Dispose ( ) : void | ||
DistanceFromTopOfLine ( int asciiNumber ) : float | ||
GetCharacterHeight ( int asciiNumber ) : float | ||
GetCharacterInfo ( char character ) : |
||
GetCharacterInfo ( int asciiNumber ) : |
||
GetCharacterRect ( char c, int lineNumber, Point &point, |
||
GetCharacterScaleX ( int asciiNumber ) : float | ||
GetCharacterSpacing ( int asciiNumber ) : float | ||
GetCharacterWidth ( char character ) : float | ||
GetCharacterWidth ( int asciiNumber ) : float | ||
GetCharacterXOffset ( int asciiNumber ) : float | ||
GetRequiredWithAndHeight ( IEnumerable lines, int &requiredWidth, int &requiredHeight ) : void | ||
GetSourceTextures ( string fontPattern ) : string[] | ||
MeasureString ( string line ) : int | ||
RenderAtlasedTextureToScreen ( List |
Used for rendering directly to screen with an atlased texture.
|
|
RenderToTexture2D ( IEnumerable |
|
|
RenderToTexture2D ( string whatToRender, HorizontalAlignment horizontalAlignment, SystemManagers managers, object objectRequestingRender ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
RenderToTexture2D ( string whatToRender, SystemManagers managers, object objectRequestingRender ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
SetFontPattern ( string fontPattern ) : void | ||
SetFontPatternFromFile ( string fntFileName ) : void |
Méthode | Description | |
---|---|---|
CheckForLoadedAtlasTexture ( string filename ) : |
||
DrawLines ( IEnumerable |
||
FillBitmapCharacterInfo ( int characterID, string fontString, int textureWidth, int textureHeight, int lineHeightInPixels, int startingIndex ) : |
||
GetRequiredWithAndHeight ( IEnumerable lines, int &requiredWidth, int &requiredHeight, List |
||
RenderToTexture2DUsingImageData ( IEnumerable lines, HorizontalAlignment horizontalAlignment, SystemManagers managers ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
RenderToTexture2DUsingRenderStates ( IEnumerable |
public AssignCharacterTextureCoordinates ( int asciiNumber, float &tVTop, float &tVBottom, float &tULeft, float &tURight ) : void | ||
asciiNumber | int | |
tVTop | float | |
tVBottom | float | |
tULeft | float | |
tURight | float | |
Résultat | void |
public BitmapFont ( Microsoft.Xna.Framework.Graphics.Texture2D fontTextureGraphic, string fontPattern ) : System | ||
fontTextureGraphic | Microsoft.Xna.Framework.Graphics.Texture2D | |
fontPattern | string | |
Résultat | System |
public BitmapFont ( string fontFile, SystemManagers managers ) : System | ||
fontFile | string | |
managers | SystemManagers | |
Résultat | System |
public BitmapFont ( string textureFile, string fontFile, SystemManagers managers ) : System | ||
textureFile | string | |
fontFile | string | |
managers | SystemManagers | |
Résultat | System |
public DistanceFromTopOfLine ( int asciiNumber ) : float | ||
asciiNumber | int | |
Résultat | float |
public GetCharacterHeight ( int asciiNumber ) : float | ||
asciiNumber | int | |
Résultat | float |
public GetCharacterInfo ( char character ) : |
||
character | char | |
Résultat |
public GetCharacterInfo ( int asciiNumber ) : |
||
asciiNumber | int | |
Résultat |
public GetCharacterRect ( char c, int lineNumber, Point &point, |
||
c | char | |
lineNumber | int | |
point | Point | |
destinationRectangle | ||
pageIndex | int | |
fontScale | float | |
Résultat |
public GetCharacterScaleX ( int asciiNumber ) : float | ||
asciiNumber | int | |
Résultat | float |
public GetCharacterSpacing ( int asciiNumber ) : float | ||
asciiNumber | int | |
Résultat | float |
public GetCharacterWidth ( char character ) : float | ||
character | char | |
Résultat | float |
public GetCharacterWidth ( int asciiNumber ) : float | ||
asciiNumber | int | |
Résultat | float |
public GetCharacterXOffset ( int asciiNumber ) : float | ||
asciiNumber | int | |
Résultat | float |
public GetRequiredWithAndHeight ( IEnumerable lines, int &requiredWidth, int &requiredHeight ) : void | ||
lines | IEnumerable | |
requiredWidth | int | |
requiredHeight | int | |
Résultat | void |
public static GetSourceTextures ( string fontPattern ) : string[] | ||
fontPattern | string | |
Résultat | string[] |
public RenderAtlasedTextureToScreen ( List |
||
lines | List |
|
horizontalAlignment | HorizontalAlignment | |
textureToRenderHeight | float | |
color | Color | |
rotation | float | |
fontScale | float | |
managers | SystemManagers | |
spriteRenderer | ||
objectRequestingChange | object | |
Résultat | void |
public RenderToTexture2D ( IEnumerable |
||
lines | IEnumerable |
|
horizontalAlignment | HorizontalAlignment | |
managers | SystemManagers | |
toReplace | Microsoft.Xna.Framework.Graphics.Texture2D | |
objectRequestingRender | object | |
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public RenderToTexture2D ( string whatToRender, HorizontalAlignment horizontalAlignment, SystemManagers managers, object objectRequestingRender ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
whatToRender | string | |
horizontalAlignment | HorizontalAlignment | |
managers | SystemManagers | |
objectRequestingRender | object | |
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public RenderToTexture2D ( string whatToRender, SystemManagers managers, object objectRequestingRender ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
whatToRender | string | |
managers | SystemManagers | |
objectRequestingRender | object | |
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public SetFontPattern ( string fontPattern ) : void | ||
fontPattern | string | |
Résultat | void |
public SetFontPatternFromFile ( string fntFileName ) : void | ||
fntFileName | string | |
Résultat | void |