Commit graph

30 commits

Author SHA1 Message Date
Mirek Fidler
34ff691308 sizeof(wchar) is changed to 4 (32 bits) to support non BMP unicode characters
This might bring some incompatibilities in the code that expects wchar to be 16 bit, which
  escpecially involves dealing with Win32 (and to lesser extend MacOS) APIs, so if your application
  is doing that, please check all instances of WCHAR (UniChar on MacOS) or even wchar
  especially type casts.

  To support host APIs, char16 is introduced (but there is no 16-bit String varian).

  Use ToSystemCharsetW, FromSystemCharsetW to convert texts to Win32 API.

- Support of drawing non-BMP characters in GUI
- Vastly improved character font replacement code (when drawing characters missing with requested font, replacement font is used)
- Last instances of Win32 ANSI calls (those ending with A) are removed
- UTF handling routines are refactored and their's naming is unified
- RTF is now being able to handle non-BMP characters (RTF is used as clipboard format for RichText)

Other minor changes:

- fixed TryRealloc issue
- improved MemoryCheck
- Removed MemoryAlloc48/MemoryFree48
- In theide Background parsing should less often cause delays in the main thread
2021-12-02 12:03:19 +01:00
cxl
214efae7e8 Painter: RectPath double variant
git-svn-id: svn://ultimatepp.org/upp/trunk@14955 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-01 08:54:54 +00:00
cxl
72405484a0 GLDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@12426 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-10-29 10:35:44 +00:00
cxl
6ab53640f8 Painter: cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@10632 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-03 10:54:08 +00:00
cxl
c77f6da72e Painter: Text now supports underline / strikeout
git-svn-id: svn://ultimatepp.org/upp/trunk@10622 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-02 08:56:40 +00:00
cxl
8ebdcbb0d5 uppsrc: NAMESPACE_UPP / END_UPP_NAMESPACE removed
git-svn-id: svn://ultimatepp.org/upp/trunk@10186 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-08-26 17:15:30 +00:00
cxl
c50723b23b Draw, PdfDraw, Painter: Improved support for non-truetype fonts in PDF
git-svn-id: svn://ultimatepp.org/upp/trunk@5607 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-12-01 10:24:54 +00:00
cxl
9a63e4f294 Core: LRUCache improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@5450 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-10-22 09:11:06 +00:00
cxl
31df61a2f5 Painter: RectPath now returns *this
git-svn-id: svn://ultimatepp.org/upp/trunk@3760 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-08-13 01:41:09 +00:00
cxl
f97c82e1d7 Painter: Added Invert attribute, fixed issue with wrong clipping in subpixel mode
git-svn-id: svn://ultimatepp.org/upp/trunk@3600 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-03 16:32:31 +00:00
cxl
e2c6646b11 .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3598 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-03 12:12:29 +00:00
cxl
c3956676a5 Painter: Fixed DrawEllipseOp with pen == 0
git-svn-id: svn://ultimatepp.org/upp/trunk@3595 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-02 19:22:31 +00:00
cxl
70ce7b138e Painter: fixed issue with path and DrawImage with empty Image
git-svn-id: svn://ultimatepp.org/upp/trunk@3591 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-02 18:17:59 +00:00
cxl
7e513dab69 *Painter: DrawCircle pen color Null issue fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@3361 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-04-19 16:11:59 +00:00
cxl
4874a81781 *Painter: Fixed underline in DrawText
git-svn-id: svn://ultimatepp.org/upp/trunk@2769 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-10-11 16:41:39 +00:00
cxl
0f45b80055 Painter: DrawImageOp completed to implement all original Draw modes
git-svn-id: svn://ultimatepp.org/upp/trunk@1951 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-01-25 19:03:05 +00:00
cxl
643bc28dd6 TheIDE: Autosetup now recognizes Win32 SDK 7.0
git-svn-id: svn://ultimatepp.org/upp/trunk@1820 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-12-20 16:50:25 +00:00
cxl
e25a6be46d CtrlLib: EditField context menu exposed, can be overriden (just like in e.g. ArrayCtrl)
git-svn-id: svn://ultimatepp.org/upp/trunk@1732 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-12-03 11:14:10 +00:00
cxl
9adc52ed12 HeaderCtrl::Serialize and Painter::DrawLine fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@1717 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-11-23 08:26:18 +00:00
cxl
52dc4c5aab Painter: DrawLineOp fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1714 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-11-22 21:45:51 +00:00
cxl
90bf24af9c Draw: Numerous fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@1473 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-04 11:50:18 +00:00
cxl
f0f0e4fb21 Painter: DrawOps - support for PEN_*, fixed line width issue
git-svn-id: svn://ultimatepp.org/upp/trunk@1459 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-31 07:43:16 +00:00
rylek
53af28a208 Added implementation for Painter::DrawArc.
git-svn-id: svn://ultimatepp.org/upp/trunk@1456 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-30 19:54:41 +00:00
rylek
1264da8e6f Added implementation for DrawPolyPolyPolygonOp and DrawPolyPolylineOp; added 'public' modifier to ST-variant of RWMutex::ReadLock / WriteLock to get rid of GCC complaints.
git-svn-id: svn://ultimatepp.org/upp/trunk@1450 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-28 08:44:00 +00:00
cxl
68a73dff42 Draw: headless draw final milestone reached
git-svn-id: svn://ultimatepp.org/upp/trunk@1436 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-19 13:12:18 +00:00
cxl
ab1120a0ab Painter fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1383 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-07 17:07:13 +00:00
cxl
e00b5d294f developing new draw
git-svn-id: svn://ultimatepp.org/upp/trunk@1373 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 20:31:59 +00:00
cxl
04a06f8ce7 developing new draw
git-svn-id: svn://ultimatepp.org/upp/trunk@1372 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 20:31:00 +00:00
cxl
4816b5c3e7 Sql: NULL for empty SqlBinary, Painter: Fixed DrawImageOp
git-svn-id: svn://ultimatepp.org/upp/trunk@1281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-06-05 12:44:32 +00:00
cxl
cf0caff149 Painter2.0 to uppsrc
git-svn-id: svn://ultimatepp.org/upp/trunk@856 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-02-12 16:32:53 +00:00
Renamed from uppdev/Painter/DrawOp.cpp (Browse further)