VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvGraphics
DtTextLayoutInterface.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2014 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvGraphics/vrvGraphics.h
>
13
#include <
vrvGraphics/DtFont.h
>
14
#include <
vrvGraphics/DtFontManager.h
>
15
16
#include <
vrvUtil/DtUnicode.h
>
17
18
namespace
makVrv
19
{
20
class
DtTextProxy;
21
class
DtTexturedGlyphRenderer;
22
24
class
DT_DLL_VRVGRAPHICS
DtTextLayoutInterface
25
{
26
public
:
28
DtTextLayoutInterface
() {};
29
31
virtual
~DtTextLayoutInterface
() {};
32
34
virtual
void
renderText(
DtTexturedGlyphRenderer
*,
DtTextProxy
*) = 0;
35
37
virtual
Dt2dPoint
calculateGlyphSize(
DtFontSP
font,
const
DtPen
& pen,
38
const
DtUnicode
&
string
,
unsigned
int
pos,
int
len) = 0;
39
41
virtual
DtBoundingBox
calculateBoundingBox(
DtFontSP
font,
const
DtPen
& pen,
42
const
DtUnicode
&
string
,
unsigned
int
pos = 0,
int
len = -1) = 0;
43
44
virtual
bool
isShaped(
void
)
const
= 0;
45
};
46
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)