diff options
| author | nyamatongwe <unknown> | 2011-09-24 22:10:59 +1000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-09-24 22:10:59 +1000 | 
| commit | 77d25bd25490fe412a213581e371c7c26eb23f7d (patch) | |
| tree | e91d99a2328e82067e9781599cb2e058a8400fa3 /cocoa/PlatCocoa.h | |
| parent | df08d45447c2b2386629d13004f4ab6006cab2d8 (diff) | |
| parent | 33e27dc25f933a92566d91a667ba4ee732ba6cfa (diff) | |
| download | scintilla-mirror-77d25bd25490fe412a213581e371c7c26eb23f7d.tar.gz | |
Merged fractional text positioning branch.
Diffstat (limited to 'cocoa/PlatCocoa.h')
| -rw-r--r-- | cocoa/PlatCocoa.h | 24 | 
1 files changed, 12 insertions, 12 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index 0e3c5f2e2..7f6a59705 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -96,20 +96,20 @@ public:    void DrawRGBAImage(PRectangle rc, int width, int height, const unsigned char *pixelsImage);    void Ellipse(PRectangle rc, ColourAllocated fore, ColourAllocated back);    void Copy(PRectangle rc, Scintilla::Point from, Surface &surfaceSource); -  void DrawTextNoClip(PRectangle rc, Font &font_, int ybase, const char *s, int len, ColourAllocated fore, +  void DrawTextNoClip(PRectangle rc, Font &font_, XYPOSITION ybase, const char *s, int len, ColourAllocated fore,                       ColourAllocated back); -  void DrawTextClipped(PRectangle rc, Font &font_, int ybase, const char *s, int len, ColourAllocated fore,  +  void DrawTextClipped(PRectangle rc, Font &font_, XYPOSITION ybase, const char *s, int len, ColourAllocated fore,                         ColourAllocated back); -  void DrawTextTransparent(PRectangle rc, Font &font_, int ybase, const char *s, int len, ColourAllocated fore); -  void MeasureWidths(Font &font_, const char *s, int len, int *positions); -  int WidthText(Font &font_, const char *s, int len); -  int WidthChar(Font &font_, char ch); -  int Ascent(Font &font_); -  int Descent(Font &font_); -  int InternalLeading(Font &font_); -  int ExternalLeading(Font &font_); -  int Height(Font &font_); -  int AverageCharWidth(Font &font_); +  void DrawTextTransparent(PRectangle rc, Font &font_, XYPOSITION ybase, const char *s, int len, ColourAllocated fore); +  void MeasureWidths(Font &font_, const char *s, int len, XYPOSITION *positions); +  XYPOSITION WidthText(Font &font_, const char *s, int len); +  XYPOSITION WidthChar(Font &font_, char ch); +  XYPOSITION Ascent(Font &font_); +  XYPOSITION Descent(Font &font_); +  XYPOSITION InternalLeading(Font &font_); +  XYPOSITION ExternalLeading(Font &font_); +  XYPOSITION Height(Font &font_); +  XYPOSITION AverageCharWidth(Font &font_);    int SetPalette(Scintilla::Palette *pal, bool inBackGround);    void SetClip(PRectangle rc);  | 
