DWORD nLen=::GetGlyphOutline(pdc->GetSafeHdc(),chartemp,GGO_BITMAP,&glpm,0,NULL,&mmat2);  (signed)nLen = -1;请问高手,这是怎么回事呢????

解决方案 »

  1.   

    If GGO_BITMAP, GGO_GRAY2_BITMAP, GGO_GRAY4_BITMAP, GGO_GRAY8_BITMAP, or GGO_NATIVE is specified and the function succeeds, the return value is greater than zero; otherwise, the return value is GDI_ERROR. If one of these flags is specified and the buffer size or address is zero, the return value specifies the required buffer size, in bytes. If GGO_METRICS is specified and the function fails, the return value is GDI_ERROR. 
      

  2.   

    http://topic.csdn.net/t/20050216/13/3785400.html
    看看这个别人用的!
      

  3.   

    一楼的大虾,不用给我贴这个吧,我肯定知道查函数的MSDN的说明吧,中文都有,你还贴英文...