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?
|