llfontgl.cpp File Reference

Wrapper around FreeType. More...

#include "linden_common.h"
#include <boost/tokenizer.hpp>
#include "llfont.h"
#include "llfontgl.h"
#include "llgl.h"
#include "v4color.h"
#include "llstl.h"

Include dependency graph for llfontgl.cpp:

Go to the source code of this file.

Functions

F32 llfont_round_x (F32 x)
F32 llfont_round_y (F32 y)

Variables

const S32 BOLD_OFFSET = 1
LLFontGL *& gExtCharFont = LLFontGL::sSansSerif
const F32 EXT_X_BEARING = 1.f
const F32 EXT_Y_BEARING = 0.f
const F32 EXT_KERNING = 1.f
const F32 PIXEL_BORDER_THRESHOLD = 0.0001f
const F32 PIXEL_CORRECTION_DISTANCE = 0.01f
const F32 PAD_AMT = 0.5f
const F32 DROP_SHADOW_SOFT_STRENGTH = 0.3f


Detailed Description

Wrapper around FreeType.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llfontgl.cpp.


Function Documentation

F32 llfont_round_x ( F32  x  ) 

Definition at line 78 of file llfontgl.cpp.

Referenced by LLFontGL::renderQuad().

F32 llfont_round_y ( F32  y  ) 

Definition at line 85 of file llfontgl.cpp.

Referenced by LLFontGL::renderQuad().


Variable Documentation

const S32 BOLD_OFFSET = 1

Definition at line 42 of file llfontgl.cpp.

Referenced by LLFontGL::drawGlyph().

const F32 DROP_SHADOW_SOFT_STRENGTH = 0.3f

Definition at line 76 of file llfontgl.cpp.

Referenced by LLFontGL::drawGlyph().

const F32 EXT_KERNING = 1.f

Definition at line 71 of file llfontgl.cpp.

Referenced by LLFontGL::charFromPixelOffset(), LLFontGL::firstDrawableChar(), LLFontGL::getWidthF32(), LLFontGL::maxDrawableChars(), and LLFontGL::render().

const F32 EXT_X_BEARING = 1.f

Definition at line 69 of file llfontgl.cpp.

Referenced by LLFontGL::getEmbeddedCharAdvance(), and LLFontGL::render().

const F32 EXT_Y_BEARING = 0.f

Definition at line 70 of file llfontgl.cpp.

Referenced by LLFontGL::render().

LLFontGL*& gExtCharFont = LLFontGL::sSansSerif

Definition at line 67 of file llfontgl.cpp.

Referenced by LLFontGL::getEmbeddedCharAdvance(), and LLFontGL::render().

const F32 PAD_AMT = 0.5f

Definition at line 75 of file llfontgl.cpp.

Referenced by LLFontGL::render().

const F32 PIXEL_BORDER_THRESHOLD = 0.0001f

Definition at line 72 of file llfontgl.cpp.

const F32 PIXEL_CORRECTION_DISTANCE = 0.01f

Definition at line 73 of file llfontgl.cpp.

Referenced by LLFontGL::render().


Generated on Thu Jul 1 06:10:16 2010 for Second Life Viewer by  doxygen 1.4.7