Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
filonenko-mikhail committed Aug 3, 2012
1 parent c07abaa commit dc411b8
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 16 deletions.
22 changes: 14 additions & 8 deletions doc/clx-truetype.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified doc/clx-truetype.pdf
Binary file not shown.
6 changes: 6 additions & 0 deletions doc/include/class-xft-font.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 35,12 @@ Use font values for background and foreground colors.
@item @code{antialias} --- initarg: @code{@w{clx-truetype::antialias}}; reader: @code{@w{clx-truetype:font-antialias}}; writer: @code{@w{(setf clx-truetype:font-antialias)}}

Antialias text string.
@item @code{string-bboxes} --- reader: @code{@w{clx-truetype::font-string-bboxes}}; writer: @code{@w{(setf clx-truetype::font-string-bboxes)}}

Cache for bboxes
@item @code{string-line-bboxes} --- reader: @code{@w{clx-truetype::font-string-line-bboxes}}; writer: @code{@w{(setf clx-truetype::font-string-line-bboxes)}}

Cache for bboxes
@end itemize

Class for representing font information.
Expand Down
2 changes: 1 addition & 1 deletion doc/include/fun-xft-draw-text-line.texinfo
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
@findex draw-text-line
@anchor{Function draw-text-line}
@deffn {Function} {draw-text-line} drawable gcontext font string x y @&key start end
@deffn {Function} {draw-text-line} drawable gcontext font string x y @&key start end draw-background-p
Draws text string using @var{font} on @var{drawable} with graphic context @var{gcontext}. @var{x}, @var{y} are the left point of base line. @var{start} and @var{end} are used for substring rendering.
If @var{gcontext} has background color, text line bounding box will be filled with it. Text line bounding box is bigger than text bounding box. @var{drawable} must be window or pixmap.
@end deffn
2 changes: 1 addition & 1 deletion doc/include/fun-xft-draw-text.texinfo
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
@findex draw-text
@anchor{Function draw-text}
@deffn {Function} {draw-text} drawable gcontext font string x y @&key start end
@deffn {Function} {draw-text} drawable gcontext font string x y @&key start end draw-background-p
Draws text string using @var{font} on @var{drawable} with graphic context @var{gcontext}. @var{x}, @var{y} are the left point of base line. @var{start} and @var{end} are used for substring rendering.
If @var{gcontext} has background color, text bounding box will be filled with it. Text line bounding box is bigger than text bounding box. @var{drawable} must be window or pixmap.
@end deffn
2 changes: 1 addition & 1 deletion doc/include/fun-xft-text-bounding-box.texinfo
Original file line number Diff line number Diff line change
@@ -1,5 1,5 @@
@findex text-bounding-box
@anchor{Function text-bounding-box}
@deffn {Function} {text-bounding-box} drawable font string
@deffn {Function} {text-bounding-box} drawable font string @&key start end
Returns text bounding box. @var{drawable} must be window, pixmap or screen. Text bounding box is only for contours. Bounding box for space (#x20) is zero.
@end deffn
2 changes: 1 addition & 1 deletion doc/include/fun-xft-text-height.texinfo
Original file line number Diff line number Diff line change
@@ -1,5 1,5 @@
@findex text-height
@anchor{Function text-height}
@deffn {Function} {text-height} drawable font string
@deffn {Function} {text-height} drawable font string @&key start end
Returns height of text bounding box. @var{drawable} must be window, pixmap or screen.
@end deffn
2 changes: 1 addition & 1 deletion doc/include/fun-xft-text-line-bounding-box.texinfo
Original file line number Diff line number Diff line change
@@ -1,5 1,5 @@
@findex text-line-bounding-box
@anchor{Function text-line-bounding-box}
@deffn {Function} {text-line-bounding-box} drawable font string
@deffn {Function} {text-line-bounding-box} drawable font string @&key start end
Returns text line bounding box. @var{drawable} must be window, pixmap or screen. Text line bounding box is bigger than text bounding box. It's height is ascent @code{ } descent, width is sum of advance widths minus sum of kernings.
@end deffn
2 changes: 1 addition & 1 deletion doc/include/fun-xft-text-line-height.texinfo
Original file line number Diff line number Diff line change
@@ -1,5 1,5 @@
@findex text-line-height
@anchor{Function text-line-height}
@deffn {Function} {text-line-height} drawable font string
@deffn {Function} {text-line-height} drawable font string @&key start end
Returns height of text line bounding box. @var{drawable} must be window, pixmap or screen.
@end deffn
2 changes: 1 addition & 1 deletion doc/include/fun-xft-text-line-width.texinfo
Original file line number Diff line number Diff line change
@@ -1,5 1,5 @@
@findex text-line-width
@anchor{Function text-line-width}
@deffn {Function} {text-line-width} drawable font string
@deffn {Function} {text-line-width} drawable font string @&key start end
Returns width of text line bounding box. @var{drawable} must be window, pixmap or screen. It is sum of advance widths minus sum of kernings.
@end deffn
2 changes: 1 addition & 1 deletion doc/include/fun-xft-text-width.texinfo
Original file line number Diff line number Diff line change
@@ -1,5 1,5 @@
@findex text-width
@anchor{Function text-width}
@deffn {Function} {text-width} drawable font string
@deffn {Function} {text-width} drawable font string @&key start end
Returns width of text bounding box. @var{drawable} must be window, pixmap or screen.
@end deffn

0 comments on commit dc411b8

Please sign in to comment.