S | |
save, ext. gfx.png | |
Scale, matrix | |
Scale2X, ext.gfx | |
set, BitArray | |
setImage, Image | |
SetImage, Sprite | |
SetPlacementAddress | |
shuffle, ext. strings | |
Shuffle | |
shuffleCopy, XString | |
ShuffleCopy, ext. strings | |
size, BitArray | |
Size | |
sliceArray, ext | |
Split | |
StrRChr, ext.php | |
Substr, XString | |
SubStr, ext. strings | |
SubstrCompare, XString | |
SubStrCompare, ext. strings | |
SubstrCount, XString | |
SubStrCount, ext. strings | |
SubstrReplace, XString | |
SubStrReplace, ext. strings | |
Swap_ | |
T | |
toggle, BitArray | |
Top, fbext_Stack | |
Transform | |
Translate, matrix | |
Triangle | |
Trim, XString | |
U | |
UCase, XString | |
UCFirst, XString | |
ucwords, XString | |
UCWords, ext. strings | |
ucwordsCopy, XString | |
UCWordsCopy, ext. strings | |
UninitializedCopy | |
UninitializedFillN | |
unload, tree | |
Update, Sprite | |
UpdateImage, Sprite | |
W | |
width, Image | |
Write, Console | |
WriteLine, Console |
Saves a png image from a memory buffer.
declare function save cdecl alias "png_save" ( byref filename as const string, byval img as const FB. IMAGE ptr ) as integer
Scales each axis of the matrix by scalar
declare sub Scale( byref scalar as single )
performs the Scale2X algorithm on an image.
declare sub Scale2X( byref dst as FB. IMAGE ptr = 0, byref src as const FB. IMAGE ptr, byref positx as integer, byref posity as integer )
Sets the value of a certain bit to 1 or on.
declare sub set( byval bit_ as SizeType )
Sets the image to handle, freeing the current image if necessary.
declare sub setImage( byval _x_ as FB. IMAGE ptr )
Assigns a FB.IMAGE to a frame.
declare sub SetImage( byval index as uinteger, byval img as FB. IMAGE ptr )
Randomly shuffles the characters in each of an array of strings.
declare sub Shuffle ( subject() as string )
Randomly shuffles the characters in the string.
declare sub Shuffle ( )
Randomly shuffles the characters in the string.
declare function ShuffleCopy overload ( byref subject as const string ) as string
Used to set the initial size of the bitfield, will not work if the num constructor is used.
declare sub size( byval num as SizeType )
Gets the number of elements in the array.
declare const function Size ( ) as SizeType
Returns the size of the queue.
declare const function Size ( ) as ext.SizeType
Returns the size of the Stack.
declare const function Size ( ) as ext.SizeType
Gets the number of elements in the list.
declare const function Size ( ) as SizeType
Copies a portion of an Array into a new array.
declare sub sliceArray overload ( src() as fbext_TypeName(T_) , dest() as fbext_TypeName(T_) , byval start_ as uinteger, byval end_ as uinteger )
Splits a string into an array.
declare function Split overload ( byref subject as const string, result() as string, byref delimiter as const string, byval limit as integer ) as integer
Splits the string into an array.
declare function Split ( result() as string, byref delimiter as const string, byval limit as integer ) as integer
Returns the substring of text that begins at the last occurrence of the character specified in char and contains the remaining characterse of text.
declare function StrRChr overload ( byref text as const string, byref char as const string ) as string
Returns a portion of a string.
declare function Substr ( byval offset as integer = 0 ) as XString
Returns a portion of a string.
declare function SubStr overload ( byref subject as const string, byval offset as integer = 0 ) as string
Compares a portion of an XString with another.
declare const function SubstrCompare ( byref b as const string, byval offset as integer = 0 ) as integer
Compares a substring with another.
declare function SubStrCompare overload ( byref a as const string, byref b as const string, byval offset as integer = 0 ) as integer
Finda the number of strings contained in the XString.
declare const function SubstrCount ( byref needle as const string, byval offset as integer = 0 ) as integer
Finds the number of substrings within a string.
declare function SubStrCount overload ( byref haystack as const string, byref needle as const string, byval offset as integer = 0 ) as integer
Replaces a portion of the XString with another.
declare sub SubstrReplace ( byref replacement as const string, byval offset as integer = 0 )
Replaces a substring with another.
declare sub SubStrReplace overload ( byref subject as string, byref replacement as const string, byval offset as integer = 0 )
Swaps the value of this fbext_SharedPtrArray(T_) with another.
declare sub Swap_ ( byref x as fbext_SharedPtrArray(T_) )
Swaps the contents of the array with another in constant time.
declare sub Swap_ ( byref x as typeof( fbext_Array(( T_)( Allocator_)) ) )
Swaps the value of this fbext_SharedPtr(T_) with another.
declare sub Swap_ ( byref x as fbext_SharedPtr(T_) )
Toggles the value of a certain bit.
declare sub toggle( byval bit_ as SizeType )
Returns a pointer to the top-most element in the stack.
declare function Top ( ) as fbext_TypeName(T_) ptr
Applies an operation //op// on each element in the range [//first//, //last//), storing the results of the transformation in the range starting at //result//.
declare function Transform overload ( byval first as fbext_TypeName(T_) ptr, byval last as fbext_TypeName(T_) ptr, byval result as fbext_TypeName(T_) ptr, byval op as function ( byref as fbext_TypeName(T_) ) as fbext_TypeName(T_) ) as fbext_TypeName(T_) ptr
generic translation function
declare sub Translate( byref x as single, byref y as single, byref z as single )
Draws a flat shaded triangle.
declare sub Triangle overload ( byval dst as FB. IMAGE ptr = 0, byval x1 as integer, byval y1 as integer, byval x2 as integer, byval y2 as integer, byval x3 as integer, byval y3 as integer, byval col as uinteger = rgba(255,255,255,255) )
Trims whitespace from both sides of the XString object
declare sub Trim ( )
Transforms the alphabetical characters into uppercase
declare sub UCase ( )
Capitalizes the first letter in the XString object
declare sub UCFirst ( )
Capitalizes every word in a string.
declare sub UCWords ( byref subject as string )
Capitalizes every word in a string.
declare function UCWordsCopy ( byref subject as const string ) as string
Copies elements in the range [//first//, //last//) to uninitialized memory beginning at //result//.
declare function UninitializedCopy overload ( byval first as const fbext_TypeName(T_) ptr, byval last as const fbext_TypeName(T_) ptr, byval result as fbext_TypeName(T_) ptr ) as fbext_TypeName(T_) ptr
Copies a value //x// to a number of uninitialized elements //n// in the range starting at //first//.
declare sub UninitializedFillN overload ( byval first as fbext_TypeName(T_) ptr, byval n as SizeType, byref x as const fbext_TypeName(T_) )
Unloads a XML data structure to a file
declare function unload( byref xmlfile as const string ) as integer
Updates the position of the Sprite in relative terms.
declare sub Update overload( byval _x_diff as single = 0, byref _y_diff as single = 0 )
Updates the collision mask for the specified frame.
declare sub UpdateImage( byval index as uinteger )
Returns the width of the image.
declare function width( ) as ext.SizeType
Overloaded to print any built-in type to the console without a line break afterwards.
declare sub Write ( byref x as fbext_TypeName(T_) )
Overloaded to print any built-in type to the console followed by a line break.
declare sub WriteLine ( byref x as fbext_TypeName(T_) )