Difference between revisions of "FONT (function)"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
m (Fix links)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:_FONT (function)}}
{{DISPLAYTITLE:_FONT (function)}}
The '''_FONT''' function creates a new alphablended font handle from a designated image handle created by {{KW|_NEWIMAGE}} in 32 bit color.
The [[_FONT (function)|_FONT]] function retrieves the font handle from the specified image handle or the current [[_DEST]]ination page's font.
 




{{PageSyntax}}
{{PageSyntax}}
:{{Parameter|font_handle}} = {{KW|_FONT}}[({{Parameter|image_handle}})]
:{{Parameter|fontHandle&}} = [[_FONT (function)|_FONT]][({{Parameter|imageHandle&}})]




{{PageDescription}}
{{PageDescription}}
*font_handle is the newly created handle that points to the font.
*imageHandle& is the handle to the image which you want to retrieve the font from. If not specified, it is assumed to be the current [[_DEST]]ination page.
*image_handle is the handle to the image which you want to retrieve the font from.




{{PageSeeAlso}}
{{PageSeeAlso}}
*[[_LOADFONT]], [[_FONT]]
*[[_LOADFONT]], [[_FONT]]
*[[_DEST]]




{{PageNavigation}}
{{PageNavigation}}

Latest revision as of 16:48, 28 February 2021

The _FONT function retrieves the font handle from the specified image handle or the current _DESTination page's font.


Syntax

fontHandle& = _FONT[(imageHandle&)]


Description

  • imageHandle& is the handle to the image which you want to retrieve the font from. If not specified, it is assumed to be the current _DESTination page.


See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page