Show
Ignore:
Timestamp:
03/25/08 18:16:02 (8 months ago)
Author:
Mike Wey
Message:

Support for dmd 2.012

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/cairo/Context.d

    r426 r480  
    6565 * module aliases: 
    6666 * local aliases: 
     67 * overrides: 
    6768 */ 
    6869 
     
    14901491     * utf8 =  a string of text encoded in UTF-8 
    14911492     */ 
    1492     public void textPath(char[] utf8) 
     1493    public void textPath(string utf8) 
    14931494    { 
    14941495        // void cairo_text_path (cairo_t *cr,  const char *utf8); 
     
    17281729     * weight =  the weight for the font 
    17291730     */ 
    1730     public void selectFontFace(char[] family, cairo_font_slant_t slant, cairo_font_weight_t weight) 
     1731    public void selectFontFace(string family, cairo_font_slant_t slant, cairo_font_weight_t weight) 
    17311732    { 
    17321733        // void cairo_select_font_face (cairo_t *cr,  const char *family,  cairo_font_slant_t slant,  cairo_font_weight_t weight); 
     
    18921893     * utf8 =  a string of text encoded in UTF-8 
    18931894     */ 
    1894     public void showText(char[] utf8) 
     1895    public void showText(string utf8) 
    18951896    { 
    18961897        // void cairo_show_text (cairo_t *cr,  const char *utf8); 
     
    19411942     * will be stored 
    19421943     */ 
    1943     public void textExtents(char[] utf8, cairo_text_extents_t* extents) 
     1944    public void textExtents(string utf8, cairo_text_extents_t* extents) 
    19441945    { 
    19451946        // void cairo_text_extents (cairo_t *cr,  const char *utf8,  cairo_text_extents_t *extents);