View Single Post
Old 05-06-2009, 01:22 AM   #16
ali_sade
Enthusiast
ali_sade began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Apr 2009
Device: Sony PRS-700BC, Hanlin V3
The stringWidth function compiles with success with changed to Pango version but drawString does not:

ZLEwlPaintContext.cpp: In member function 'virtual void ZLEwlPaintContext::drawString(int, int, const char*, int, bool)':
ZLEwlPaintContext.cpp:303: error: no match for 'operator=' in '*(((ZLEwlPaintContext*)this)->ZLEwlPaintContext::image + ((unsigned int)(((unsigned int)((x + k) + (((y - i) + ((ZLEwlPaintContext*)this)->ZLEwlPaintContext::myDescent) * ((ZLEwlPaintContext*)this)->ZLEwlPaintContext::myWidth))) * 40u))) = ((((((int)val) << 16) | -0x00000000001000000) | (((int)val) << 8)) | ((int)val))'
/usr/arm-ip-linux-gnueabi/include/xcb/xcb_image.h:93: note: candidates are: xcb_image_t& xcb_image_t :: operator=(const xcb_image_t&)

Can you help please?
ali_sade is offline