|
ASPOSE_PAGE_SHARED_API System::Drawing::FontStyle | get_Style () |
| Gets the true type font. More...
|
|
ASPOSE_PAGE_SHARED_API bool | get_IsBold () |
| Gets a value indicating whether this instance is bold. More...
|
|
ASPOSE_PAGE_SHARED_API bool | get_IsItalic () |
| Gets a value indicating whether this instance is italic. More...
|
|
ASPOSE_PAGE_SHARED_API float | get_SmallCapsScaleFactor () |
| Gets the font capitals. More...
|
|
ASPOSE_PAGE_SHARED_API System::String | get_FamilyName () |
| Gets name of this font. More...
|
|
ASPOSE_PAGE_SHARED_API float | get_SizePoints () |
| Gets size of this font (points). More...
|
|
ASPOSE_PAGE_SHARED_API void | set_SizePoints (float value) |
| Gets size of this font (points). More...
|
|
ASPOSE_PAGE_SHARED_API float | get_AscentPoints () |
| Returns the cell ascent in points. More...
|
|
ASPOSE_PAGE_SHARED_API float | get_DescentPoints () |
| Returns the cell descent in points. More...
|
|
ASPOSE_PAGE_SHARED_API float | get_CellHeightPoints () |
| Shortcut for AscentPoints + DescentPoints. More...
|
|
ASPOSE_PAGE_SHARED_API int32_t | get_AscentLis () |
| Cell ascent of this font (lis). This is a vertical distance from cell top to cell baseline. More...
|
|
ASPOSE_PAGE_SHARED_API int32_t | get_DescentLis () |
| Cell descent of this font (lis). This is a vertical distance from cell bottom to cell baseline. More...
|
|
ASPOSE_PAGE_SHARED_API int32_t | get_CellHeightLis () |
| Returns cell height of this font (lis). This is a shortcut for AscentLis + DescentLis. More...
|
|
ASPOSE_PAGE_SHARED_API int32_t | get_LeadingLis () |
| Returns leading of this font (lis). This is a shortcut for LineSpacingLis - CellHeightLis. More...
|
|
ASPOSE_PAGE_SHARED_API float | get_LeadingPoints () |
| Returns leading of this font (lis). This is a shortcut for LineSpacingLis - CellHeightLis. More...
|
|
ASPOSE_PAGE_SHARED_API int32_t | get_LineSpacingLis () |
| Returns cell spacing of this font (lis). This is a vertical distance between baselines of the two glyphs. More...
|
|
ASPOSE_PAGE_SHARED_API float | get_LineSpacingPoints () |
| Returns cell spacing of this font (points). This is a vertical distance between baselines of the two glyphs. More...
|
|
ASPOSE_PAGE_SHARED_API int16_t | get_StyleEx () |
| This property contains additional information about font's style More...
|
|
ASPOSE_PAGE_SHARED_API void | set_StyleEx (int16_t value) |
| This property contains additional information about font's style More...
|
|
ASPOSE_PAGE_SHARED_API void | Replace (System::SharedPtr< DrFont > font) |
| Replace font content More...
|
|
ASPOSE_PAGE_SHARED_API float | GetCharWidthPoints (char16_t c) |
| Returns width of the character (points). More...
|
|
ASPOSE_PAGE_SHARED_API float | GetTextWidthPoints (System::String text) |
| Gets the text width points. More...
|
|
ASPOSE_PAGE_SHARED_API float | GetTextWidthPoints (System::String text, int32_t startIndex, int32_t charCount) |
| Gets the text width points. More...
|
|
ASPOSE_PAGE_SHARED_API System::Drawing::SizeF | GetTextSizePoints (System::String text) |
| Returns measurement text box of the text in points. More...
|
|
ASPOSE_PAGE_SHARED_API int32_t | GetCharWidthLis (char16_t c) |
| Gets the char width lis. More...
|
|
ASPOSE_PAGE_SHARED_API int32_t | GetTextWidthLis (System::String text) |
| Gets the text width lis. More...
|
|
ASPOSE_PAGE_SHARED_API bool | Equals (System::SharedPtr< System::Object > obj) override |
| Determines whether the specified System::Object, is equal to this instance. More...
|
|
ASPOSE_PAGE_SHARED_API int32_t | GetHashCode () const override |
| Returns a hash code for this instance. More...
|
|
ASPOSECPP_SHARED_API | Object () |
| Creates object. Initializes all internal data structures. More...
|
|
virtual ASPOSECPP_SHARED_API | ~Object () |
| Destroys object. Frees all internal data structures. More...
|
|
ASPOSECPP_SHARED_API | Object (Object const &x) |
| Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
|
|
Object & | operator= (Object const &x) |
| Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
|
|
Object * | SharedRefAdded () |
| Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
int | SharedRefRemovedSafe () |
| Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
int | RemovedSharedRefs (int count) |
| Decreases shared reference count by specified value. More...
|
|
Detail::SmartPtrCounter * | WeakRefAdded () |
| Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
void | WeakRefRemoved () |
| Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
Detail::SmartPtrCounter * | GetCounter () |
| Gets reference counter data structure associated with the object. More...
|
|
int | SharedCount () const |
| Gets current value of shared reference counter. More...
|
|
ASPOSECPP_SHARED_API void | Lock () |
| Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
|
|
ASPOSECPP_SHARED_API void | Unlock () |
| Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
|
|
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
| Compares objects using C# Object.Equals semantics. More...
|
|
virtual ASPOSECPP_SHARED_API String | ToString () const |
| Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
|
|
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
| Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
|
|
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
| Gets actual type of object. Analog of C# System.Object.GetType() call. More...
|
|
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
| Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
|
|
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (uint32_t argument) |
| Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
|
|
virtual ASPOSECPP_SHARED_API bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
| For internal purposes only. More...
|
|
template<> |
bool | Equals (float const &objA, float const &objB) |
|
template<> |
bool | Equals (double const &objA, double const &objB) |
|
template<> |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
|
template<> |
bool | ReferenceEquals (String const &str1, String const &str2) |
|
|
static ASPOSE_PAGE_SHARED_API bool | IsPoorlyRenderedByGdiPlus (System::String fontName) |
| Returns True for "Microsoft Sans Serif" font. This one is poorly rendered by GDI+. See Test286 and Gemini-6959. More...
|
|
static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
| Compares objects by reference. More...
|
|
template<typename T > |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
| Compares objects by reference. More...
|
|
template<typename T > |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
| Reference-compares value type object with nullptr. More...
|
|
template<typename T1 , typename T2 > |
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
| Compares reference type objects in C# style. More...
|
|
template<typename T1 , typename T2 > |
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
| Compares value type objects in C# style. More...
|
|
static const TypeInfo & | Type () |
| Implements C# typeof(System.Object) construct. More...
|
|
Use this class instead of GDI+ Font