Files
2020-07-14 14:12:44 +00:00

5 lines
19 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `ttf` mod in crate `sdl2_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, ttf"><title>sdl2_sys::ttf - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../sdl2_sys/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Module ttf</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Definitions</a></li></ul></div><p class='location'><a href='../index.html'>sdl2_sys</a></p><script>window.sidebarCurrent = {name: 'ttf', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/sdl2_sys/ttf.rs.html#1' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../index.html'>sdl2_sys</a>::<wbr><a class="mod" href=''>ttf</a></span></h1><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct._TTF_Font.html" title='sdl2_sys::ttf::_TTF_Font struct'>_TTF_Font</a></td><td class='docblock-short'></td></tr></table><h2 id='constants' class='section-header'><a href="#constants">Constants</a></h2>
<table><tr class='module-item'><td><a class="constant" href="constant.TTF_HINTING_LIGHT.html" title='sdl2_sys::ttf::TTF_HINTING_LIGHT constant'>TTF_HINTING_LIGHT</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.TTF_HINTING_MONO.html" title='sdl2_sys::ttf::TTF_HINTING_MONO constant'>TTF_HINTING_MONO</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.TTF_HINTING_NONE.html" title='sdl2_sys::ttf::TTF_HINTING_NONE constant'>TTF_HINTING_NONE</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.TTF_HINTING_NORMAL.html" title='sdl2_sys::ttf::TTF_HINTING_NORMAL constant'>TTF_HINTING_NORMAL</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.TTF_MAJOR_VERSION.html" title='sdl2_sys::ttf::TTF_MAJOR_VERSION constant'>TTF_MAJOR_VERSION</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.TTF_MINOR_VERSION.html" title='sdl2_sys::ttf::TTF_MINOR_VERSION constant'>TTF_MINOR_VERSION</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.TTF_PATCHLEVEL.html" title='sdl2_sys::ttf::TTF_PATCHLEVEL constant'>TTF_PATCHLEVEL</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.TTF_STYLE_BOLD.html" title='sdl2_sys::ttf::TTF_STYLE_BOLD constant'>TTF_STYLE_BOLD</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.TTF_STYLE_ITALIC.html" title='sdl2_sys::ttf::TTF_STYLE_ITALIC constant'>TTF_STYLE_ITALIC</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.TTF_STYLE_NORMAL.html" title='sdl2_sys::ttf::TTF_STYLE_NORMAL constant'>TTF_STYLE_NORMAL</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.TTF_STYLE_STRIKETHROUGH.html" title='sdl2_sys::ttf::TTF_STYLE_STRIKETHROUGH constant'>TTF_STYLE_STRIKETHROUGH</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.TTF_STYLE_UNDERLINE.html" title='sdl2_sys::ttf::TTF_STYLE_UNDERLINE constant'>TTF_STYLE_UNDERLINE</a></td><td class='docblock-short'></td></tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
<table><tr class='module-item'><td><a class="fn" href="fn.TTF_ByteSwappedUNICODE.html" title='sdl2_sys::ttf::TTF_ByteSwappedUNICODE fn'>TTF_ByteSwappedUNICODE</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_CloseFont.html" title='sdl2_sys::ttf::TTF_CloseFont fn'>TTF_CloseFont</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_FontAscent.html" title='sdl2_sys::ttf::TTF_FontAscent fn'>TTF_FontAscent</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_FontDescent.html" title='sdl2_sys::ttf::TTF_FontDescent fn'>TTF_FontDescent</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_FontFaceFamilyName.html" title='sdl2_sys::ttf::TTF_FontFaceFamilyName fn'>TTF_FontFaceFamilyName</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_FontFaceIsFixedWidth.html" title='sdl2_sys::ttf::TTF_FontFaceIsFixedWidth fn'>TTF_FontFaceIsFixedWidth</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_FontFaceStyleName.html" title='sdl2_sys::ttf::TTF_FontFaceStyleName fn'>TTF_FontFaceStyleName</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_FontFaces.html" title='sdl2_sys::ttf::TTF_FontFaces fn'>TTF_FontFaces</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_FontHeight.html" title='sdl2_sys::ttf::TTF_FontHeight fn'>TTF_FontHeight</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_FontLineSkip.html" title='sdl2_sys::ttf::TTF_FontLineSkip fn'>TTF_FontLineSkip</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_GetFontHinting.html" title='sdl2_sys::ttf::TTF_GetFontHinting fn'>TTF_GetFontHinting</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_GetFontKerning.html" title='sdl2_sys::ttf::TTF_GetFontKerning fn'>TTF_GetFontKerning</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_GetFontKerningSize.html" title='sdl2_sys::ttf::TTF_GetFontKerningSize fn'>TTF_GetFontKerningSize</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_GetFontKerningSizeGlyphs.html" title='sdl2_sys::ttf::TTF_GetFontKerningSizeGlyphs fn'>TTF_GetFontKerningSizeGlyphs</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_GetFontOutline.html" title='sdl2_sys::ttf::TTF_GetFontOutline fn'>TTF_GetFontOutline</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_GetFontStyle.html" title='sdl2_sys::ttf::TTF_GetFontStyle fn'>TTF_GetFontStyle</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_GlyphIsProvided.html" title='sdl2_sys::ttf::TTF_GlyphIsProvided fn'>TTF_GlyphIsProvided</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_GlyphMetrics.html" title='sdl2_sys::ttf::TTF_GlyphMetrics fn'>TTF_GlyphMetrics</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_Init.html" title='sdl2_sys::ttf::TTF_Init fn'>TTF_Init</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_Linked_Version.html" title='sdl2_sys::ttf::TTF_Linked_Version fn'>TTF_Linked_Version</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_OpenFont.html" title='sdl2_sys::ttf::TTF_OpenFont fn'>TTF_OpenFont</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_OpenFontIndex.html" title='sdl2_sys::ttf::TTF_OpenFontIndex fn'>TTF_OpenFontIndex</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_OpenFontIndexRW.html" title='sdl2_sys::ttf::TTF_OpenFontIndexRW fn'>TTF_OpenFontIndexRW</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_OpenFontRW.html" title='sdl2_sys::ttf::TTF_OpenFontRW fn'>TTF_OpenFontRW</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_Quit.html" title='sdl2_sys::ttf::TTF_Quit fn'>TTF_Quit</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderGlyph_Blended.html" title='sdl2_sys::ttf::TTF_RenderGlyph_Blended fn'>TTF_RenderGlyph_Blended</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderGlyph_Shaded.html" title='sdl2_sys::ttf::TTF_RenderGlyph_Shaded fn'>TTF_RenderGlyph_Shaded</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderGlyph_Solid.html" title='sdl2_sys::ttf::TTF_RenderGlyph_Solid fn'>TTF_RenderGlyph_Solid</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderText_Blended.html" title='sdl2_sys::ttf::TTF_RenderText_Blended fn'>TTF_RenderText_Blended</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderText_Blended_Wrapped.html" title='sdl2_sys::ttf::TTF_RenderText_Blended_Wrapped fn'>TTF_RenderText_Blended_Wrapped</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderText_Shaded.html" title='sdl2_sys::ttf::TTF_RenderText_Shaded fn'>TTF_RenderText_Shaded</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderText_Solid.html" title='sdl2_sys::ttf::TTF_RenderText_Solid fn'>TTF_RenderText_Solid</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderUNICODE_Blended.html" title='sdl2_sys::ttf::TTF_RenderUNICODE_Blended fn'>TTF_RenderUNICODE_Blended</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderUNICODE_Blended_Wrapped.html" title='sdl2_sys::ttf::TTF_RenderUNICODE_Blended_Wrapped fn'>TTF_RenderUNICODE_Blended_Wrapped</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderUNICODE_Shaded.html" title='sdl2_sys::ttf::TTF_RenderUNICODE_Shaded fn'>TTF_RenderUNICODE_Shaded</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderUNICODE_Solid.html" title='sdl2_sys::ttf::TTF_RenderUNICODE_Solid fn'>TTF_RenderUNICODE_Solid</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderUTF8_Solid.html" title='sdl2_sys::ttf::TTF_RenderUTF8_Solid fn'>TTF_RenderUTF8_Solid</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderUTF8_Shaded.html" title='sdl2_sys::ttf::TTF_RenderUTF8_Shaded fn'>TTF_RenderUTF8_Shaded</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderUTF8_Blended.html" title='sdl2_sys::ttf::TTF_RenderUTF8_Blended fn'>TTF_RenderUTF8_Blended</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_RenderUTF8_Blended_Wrapped.html" title='sdl2_sys::ttf::TTF_RenderUTF8_Blended_Wrapped fn'>TTF_RenderUTF8_Blended_Wrapped</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_SetFontHinting.html" title='sdl2_sys::ttf::TTF_SetFontHinting fn'>TTF_SetFontHinting</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_SetFontKerning.html" title='sdl2_sys::ttf::TTF_SetFontKerning fn'>TTF_SetFontKerning</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_SetFontOutline.html" title='sdl2_sys::ttf::TTF_SetFontOutline fn'>TTF_SetFontOutline</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_SetFontStyle.html" title='sdl2_sys::ttf::TTF_SetFontStyle fn'>TTF_SetFontStyle</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_SizeText.html" title='sdl2_sys::ttf::TTF_SizeText fn'>TTF_SizeText</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_SizeUNICODE.html" title='sdl2_sys::ttf::TTF_SizeUNICODE fn'>TTF_SizeUNICODE</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_SizeUTF8.html" title='sdl2_sys::ttf::TTF_SizeUTF8 fn'>TTF_SizeUTF8</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.TTF_WasInit.html" title='sdl2_sys::ttf::TTF_WasInit fn'>TTF_WasInit</a><a title='unsafe function' href='#'><sup></sup></a></td><td class='docblock-short'></td></tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
<table><tr class='module-item'><td><a class="type" href="type.Sint64.html" title='sdl2_sys::ttf::Sint64 type'>Sint64</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.TTF_Font.html" title='sdl2_sys::ttf::TTF_Font type'>TTF_Font</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Uint8.html" title='sdl2_sys::ttf::Uint8 type'>Uint8</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Uint16.html" title='sdl2_sys::ttf::Uint16 type'>Uint16</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Uint32.html" title='sdl2_sys::ttf::Uint32 type'>Uint32</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__int64_t.html" title='sdl2_sys::ttf::__int64_t type'>__int64_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__off64_t.html" title='sdl2_sys::ttf::__off64_t type'>__off64_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__off_t.html" title='sdl2_sys::ttf::__off_t type'>__off_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__uint8_t.html" title='sdl2_sys::ttf::__uint8_t type'>__uint8_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__uint16_t.html" title='sdl2_sys::ttf::__uint16_t type'>__uint16_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__uint32_t.html" title='sdl2_sys::ttf::__uint32_t type'>__uint32_t</a></td><td class='docblock-short'></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "sdl2_sys";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>