opennurbs_textdraw.h
1 
2 /* $NoKeywords: $ */
3 /*
4 //
5 // Copyright (c) 1993-2012 Robert McNeel & Associates. All rights reserved.
6 // OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert
7 // McNeel & Associates.
8 //
9 // THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
10 // ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF
11 // MERCHANTABILITY ARE HEREBY DISCLAIMED.
12 //
13 // For complete openNURBS copyright information see <http://www.opennurbs.org>.
14 //
15 ////////////////////////////////////////////////////////////////
16 */
17 //#if !defined(OPENNURBS_TEXTDRAW_INC_)
18 //#define OPENNURBS_TEXTDRAW_INC_
19 //
20 //#ifndef OPENNURBS_TEXT_H_INCLUDED
21 //#error Include opennurbs_text.h first
22 //#endif
23 //
24 //#ifdef RHRICHTEXT
25 //
26 //
27 ////typedef bool (*TestG)(int);
28 //
29 //class ON_TextDraw
30 //{
31 //public:
32 // ON_TextDraw() {}
33 //
34 // //static
35 // //bool DrawOnText(const ON_Text& text);
36 // //static
37 // //bool DrawTextRun(const ON_TextRun* run);
38 //
39 // //bool GetExtents(const wchar_t* string, const ON_Font* pFont, ON_2dex& minpt, ON_2dex& maxpt, ON_2dex& lastpt);
40 //
41 // //typedef bool (*TestF)(int);
42 // //static TestG testg;
43 // //static TestF testf;
44 //
45 // //ON_StringExtentsFunc StringExtentsFunc;
46 // //void* StringExtentsData;
47 // //static
48 // //ON_FontInitFunc FontInitFunc;
49 // //static
50 // //void* FontInitData;
51 //};
52 //
53 //
54 //
55 //#endif // RHRICHTEXT
56 //#endif // OPENNURBS_TEXTDRAW_INC_w