Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
developer:rhpicture:gdifont [2016/03/16]
sandy
developer:rhpicture:gdifont [2016/03/18] (current)
sandy
Line 1: Line 1:
-====== RhPicture ​Plugin ​GDI Font object ​======+====== RhPicture ​Plug-in ​GDI Font Object ​======
  
-> **Summary:​** //A description of the GDI Font object as exposed through the [[developer:​rhinoscriptimageextension|RhPicture]] ​plugin//+> **Summary:​** //A description of the GDI Font object as exposed through the [[developer:​rhinoscriptimageextension|RhPicture]] ​plug-in//
  
  
 =====GDI+ Font objects===== =====GDI+ Font objects=====
  
-GDI+ Font objects are required when GDI+ is drawing Text. The GDI+ Font object is quite extensive and some of its features are also available through the [[developer:​rhinoscriptimageextension|RhPicture]] ​Plugin:+GDI+ Font objects are required when GDI+ is drawing Text. The GDI+ Font object is quite extensive and some of its features are also available through the [[developer:​rhinoscriptimageextension|RhPicture]] ​plug-in:
  
   * Name   * Name
Line 22: Line 22:
   * StrikeOut flag   * StrikeOut flag
  
-Most of these properties are self-evident and need little elaboration. Note that you do not need Font objects to draw Strings in the RhPicture ​plugin. Every method that takes a Fnt object is overloaded and can be called with a font name as well:+Most of these properties are self-evident and need little elaboration. Note that you do not need Font objects to draw Strings in the RhPicture ​plug-in. Every method that takes a Fnt object is overloaded and can be called with a font name as well:
  
   Dim RhPicture : Set RhPicture = Rhin.GetPluginObject("​RhPicture"​)   Dim RhPicture : Set RhPicture = Rhin.GetPluginObject("​RhPicture"​)
Line 47: Line 47:
  
 | Parameter | Type | Description | | Parameter | Type | Description |
-| FontName ​ | String ​      | The name of a font which exists on the local machine. Safe bets are "Arial""Courier" ​and "Times". |+| FontName ​ | String ​      | The name of a font which exists on the local machine. Safe bets are //Arial////Courier// and //Times//. |
 | FontSize ​ | Double ​      | The height of the font in points. | | FontSize ​ | Double ​      | The height of the font in points. |
 | Bold      | Boolean ​     | True for bold fonts. | | Bold      | Boolean ​     | True for bold fonts. |
developer/rhpicture/gdifont.txt ยท Last modified: 2016/03/18 by sandy