From b00ad25a2750c8496dac2acf5579911dfc2f549e Mon Sep 17 00:00:00 2001 From: kirkpatc Date: Mon, 29 Oct 2007 10:30:20 +0000 Subject: [PATCH] Updates to TFont etc git-svn-id: trunk@12626 - --- docs/xml/lcl/graphics.xml | 117 +++++++++++++++++--------------------- 1 file changed, 52 insertions(+), 65 deletions(-) diff --git a/docs/xml/lcl/graphics.xml b/docs/xml/lcl/graphics.xml index b5948481d9..10f32ccd6e 100644 --- a/docs/xml/lcl/graphics.xml +++ b/docs/xml/lcl/graphics.xml @@ -205,57 +205,42 @@ - - - + A record holding Data about the current Font - - - + The Operating System Handle for the current Font - - - + The Height (in pixels) if the current Font - - - + The Pitch (in points) of the currentFont - - - + The Style of the Font + Bold, Italic, Strikeout or Underlined - - - + The Character Set of the current Font (expresed as an integer) - - - + The Name (as a string) of the current Font - - - + Data about the Default Font in the current context + - - - + How the Text is to be laid out in the Text Rectangle + At the Bottom, Centre or Top of the available window or box @@ -265,9 +250,18 @@ - - - + The Style of the Text to be drawn in a rectangle + Alignment : TextRect Only: horizontal alignment
+Layout : TextRect Only: vertical alignment
+SingleLine: boolean; If WordBreak is false then process #13, #10 as standard chars and perform no Line breaking.
+Clipping : boolean; TextRect Only: Clip Text to passed Rectangle
+ExpandTabs: boolean; currently ignored
+ShowPrefix: boolean; TextRect Only: Process first single ampersand per line as an underscore and draw double ampersand as a single ampersand
+Wordbreak : boolean; TextRect Only: If line of text is too long to fit between left and right boundaries, try to break into multiple lines between words
+Opaque : boolean; TextRect: Fills background with current Brush
+Opaque : TextOut : Fills background with current foreground color
+SystemFont: Boolean; Use the system font instead of Canvas Font
+RightToLeft: Boolean; For RightToLeft text reading (Text Direction)
@@ -1546,10 +1540,9 @@ - - - - + The Font to be used for drawing Text + Most of the data about the font are dealt with by the protected procedures GetData and SetData which operate on TFontData
+Individual properties such as Character Set, colour and size can be accessed in the public area
@@ -1807,24 +1800,23 @@ - - - - + Font constructor + Opens a new instance of the class and sets defaults for character set, colour, size etc - - - - + Font destructor - - - - + Assign - copies the LogFont or Source settings to itself + Method: TFont.Assign
+ +Params: ALogFont: TLogFont or Source: another font
+ +Returns: nothing
+ +Copies the logfont or source settings to itself
@@ -1889,15 +1881,12 @@
- - - + The Character Set to be used by the currentFont - - - + Colour of the current Font + Default is the same as the text used for the rest of the Window @@ -1907,27 +1896,24 @@ - - - + Name of the Font - - - + Pitch type of the Font + Fixed or variable pitch, or Default
+Reads or writes a flag to determine pitch type
+
- - - + FontSize in pixels - - - + Style of the Font + Bold, Italic, Strike out, Underline
+Property is a set, so may contain zero or more of the above (if set is empty, Normal font is displayed)
@@ -2100,7 +2086,7 @@ psSolid, psDash, psDot, psDashDot, psDashDotDot, psinsideFrame, psPattern,psClea - The Colour of th ecurrent Pen + The Colour of the current Pen Reads or Writes a flag to determine the colour. Default is black @@ -2171,6 +2157,7 @@ Default is psSolid The Brush to be used to Paint on the current Canvas + A Brush is typically used to fill an enclosed area on theCanvas with one particular colour or coloured pattern