mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-04-24 07:07:32 +08:00
Update source to v6.8.18240.20051
Previous source was actually for 6.1...
This commit is contained in:
40
opennurbs_apple_nsfont.h
Normal file
40
opennurbs_apple_nsfont.h
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
//
|
||||
// Copyright (c) 1993-2018 Robert McNeel & Associates. All rights reserved.
|
||||
// OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert
|
||||
// McNeel & Associates.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
|
||||
// ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF
|
||||
// MERCHANTABILITY ARE HEREBY DISCLAIMED.
|
||||
//
|
||||
// For complete openNURBS copyright information see <http://www.opennurbs.org>.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////
|
||||
*/
|
||||
|
||||
#if !defined(OPENNURBS_APPLE_NSFONT_INC_)
|
||||
#define OPENNURBS_APPLE_NSFONT_INC_
|
||||
|
||||
//#define ON_NSFONT_GLYPH_SUPPORT_WIP
|
||||
#if defined(ON_RUNTIME_APPLE) && defined(ON_RUNTIME_APPLE_OBJECTIVE_C_AVAILABLE) && defined(ON_NSFONT_GLYPH_SUPPORT_WIP)
|
||||
|
||||
ON_DECL
|
||||
bool ON_AppleNSFontGetGlyphMetrics(
|
||||
NSFont* appleFont,
|
||||
unsigned int font_design_units_per_M,
|
||||
unsigned int glyphIndex,
|
||||
class ON_TextBox& glyph_metrics
|
||||
);
|
||||
|
||||
ON_DECL
|
||||
bool ON_AppleNSFontGetGlyphOutline(
|
||||
NSFont* appleFont,
|
||||
unsigned int font_design_units_per_M,
|
||||
unsigned int glyphIndex,
|
||||
ON_OutlineFigure::Type figure_type,
|
||||
class ON_Outline& outline
|
||||
);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user