Commit Graph
22 Commits
Author SHA1 Message Date
Vincent Wei caefd7355a cleanup 2019-01-13 18:36:03 +08:00
Vincent Wei b18cd49398 add GDCAP_DPI for GetGDCapability 2019-01-10 17:31:50 +08:00
Vincent Wei c643b10bbc Implementation of new API: SyncUpdateDC 2018-11-29 12:22:01 +08:00
HOU Huihua 7805a3f5c3 fixbug: new DC attribute: bidi_flags 2018-11-18 13:11:23 +08:00
10km ce442b5e96 add __mg_save_jpg function for storing MYBITMAP as JPEG file.
enable application to store image as JPEG file.
description: Convert all color space(RGBA,BGR,RGB565,index color256,16) to RGB ,and compress JPEG with JCS_RGB color space. 
Can use preprocessor _MGIMAGE_JPG_SAVE_QUALITY to define JPEG compression quality.default value 90.
For RGBA color space image ,can use _MGIMAGE_JPG_RGBA_BGCOLOR define background color,default value 0XFFFFFF (white).
For image with index color space(256 or 16) ,the argument 'pal' of __mg_save_jpg must be NULL.
LIMIT:type of MG_RWops object must be RWAREA_TYPE_STDIO ( a file).not suport RWAREA_TYPE_MEM.
2018-09-04 13:40:59 +08:00
Vincent Wei ae532f03fa add GetGlyphBIDIType and BidiCharType -> Uint32 2018-08-29 20:03:20 +08:00
Vincent Wei 9945cd25a5 BIDI flag for DC 2018-08-28 18:38:20 +08:00
Vincent Wei 808718bdb4 Support BIDI for UNICODE charsets and cleanup the implementation 2018-08-27 18:55:12 +08:00
VincentWei 378f7e1986 cleanup 2018-05-19 15:13:12 +08:00
VincentWei 62efa8b29a clean up the header copying statements 2018-02-04 17:01:37 +08:00
VincentWei 0bec004433 add MAKEWPARAM and FIRSTBYTE~FOURTHBYTE macros, and remove HIBYTE_WORD16, LOBYTE_WORD16 macros. Now, MAKEWORD(lobyte, hibyte) returns same value on both 32-bit and 64-bit platforms 2018-02-02 15:05:00 +08:00
VincentWei d8b8139ca1 use UINT stead of int for control identifiers and menu item identifiers 2018-01-31 16:03:41 +08:00
VincentWei 8ddeb9806b define MAXLEN_CLASSNAME to 31 2018-01-28 01:07:34 +08:00
VincentWei 6290779a02 tune the implementation of tracing message 2018-01-21 18:09:51 +08:00
VincentWei dbcc408ad3 make timer-related APIs compiant to 64-bit 2018-01-21 17:07:48 +08:00
VincentWei 766ddb5555 tune code for 64b (MiniGUI-Processes runmode) 2018-01-19 15:35:26 +08:00
VincentWei b4e43c3514 tune code for 64 bitts 2018-01-18 16:51:44 +08:00
VincentWei b59f0b6a93 tune code for 64-bit 2018-01-17 18:51:41 +08:00
VincentWei 2fbff87cb4 tune for 64 bits 2018-01-16 19:07:41 +08:00
Vincent Wei 267d9c1b12 merge from rel-3-0 branch 2017-10-26 13:34:57 +08:00
VincentWei edb195523f Remove some inline definitions 2017-10-24 18:05:52 +08:00
Vincent Wei e87d052072 initical commit 2017-05-29 12:20:05 +08:00