Commit graph

42 commits

Author SHA1 Message Date
Mirek Fidler
45e2296c69 Painter: Last minute fixes... 2023-12-24 16:37:07 +01:00
mirek-fidler
2d0f19053a
Painter2 (#182)
Painter improvements: Multithreaded rendering improved, new image filter (like Lanczos 3) option, image mapping is now more precise
2023-12-24 15:21:23 +01:00
Mirek Fidler
ed95d1305c CtrlLib: Using beep parameter for regular prompts (fixes override problem) 2023-05-06 20:38:45 +02:00
Mirek Fidler
81d79f3ed3 Painter: Fixed problem with strlen in Text 2022-12-17 08:48:24 +01:00
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
4a7f4ee66d Draw: ImageBuffer PaintOnceHint; gtk: Image rendering optimized to use PaintOnceHint, SetSurface optimized with create_image_surface_for_data
git-svn-id: svn://ultimatepp.org/upp/trunk@15977 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-06-03 09:23:35 +00:00
cxl
65e70a9cab Painter: Xform2D triangle mapping
git-svn-id: svn://ultimatepp.org/upp/trunk@13966 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-04 12:35:57 +00:00
cxl
b9e436f925 Painter: Improved precision of Text, fixed text issue with svg
git-svn-id: svn://ultimatepp.org/upp/trunk@12812 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-06 14:50:11 +00:00
cxl
6e78d5f8de Painter: Refactored and optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@12508 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-11-11 12:41:22 +00:00
cxl
32387e0197 Painter: Fixed underline/overstrike (again :)
git-svn-id: svn://ultimatepp.org/upp/trunk@10724 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-17 08:40:09 +00:00
cxl
6fe5e5afd8 Painter: Fixed underline/strikeout in TextOp position
git-svn-id: svn://ultimatepp.org/upp/trunk@10718 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-16 10:13: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
7184bd5c00 Painter: SVG related issues
git-svn-id: svn://ultimatepp.org/upp/trunk@7988 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-12-21 19:08:48 +00:00
cxl
deda21a64f .developing SVG parser
git-svn-id: svn://ultimatepp.org/upp/trunk@7978 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-12-15 18:40:16 +00:00
cxl
bd87a04fda Draw, CtrlCore: Major refactor of Draw
git-svn-id: svn://ultimatepp.org/upp/trunk@5545 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-11-11 12:33:47 +00:00
cxl
60bb7914df Painter: Fixed issue with Text(..const char *..) (wrong length of text if n = -1)
git-svn-id: svn://ultimatepp.org/upp/trunk@5049 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-06-12 09:22:15 +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
6642d719a3 NewDraw fixed in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@1380 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-07 07:41:55 +00:00
cxl
57c85ce9f0 New draw fixed in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@1379 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-07 07:16:13 +00:00
cxl
6c73ab6284 Painter fixed to work with new Draw
git-svn-id: svn://ultimatepp.org/upp/trunk@1376 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 22:16:41 +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
2fb88fb63c CtrlLib: NativePathLargeIcon, ArrayCtrl and EditField minor fixes, Draw: Rescale progress Gate, Painter: ImagePainter, DrawPainter
git-svn-id: svn://ultimatepp.org/upp/trunk@1052 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-04-08 12:28:46 +00:00
cxl
18a886438d Painter: Fixed empty Text issue, removed low-level text rendering cache (we have high-level one)
git-svn-id: svn://ultimatepp.org/upp/trunk@985 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-03-20 08:59:30 +00:00
cxl
be965116d3 Painter: RoundedRectangle
git-svn-id: svn://ultimatepp.org/upp/trunk@982 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-03-19 07:43:36 +00:00
cxl
81e1a7d802 Painter: OnPath, text optimizations
git-svn-id: svn://ultimatepp.org/upp/trunk@916 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-03-06 16:32:40 +00:00
cxl
30b677638f SvgArc support
git-svn-id: svn://ultimatepp.org/upp/trunk@863 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-02-14 20:21:26 +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
cxl
91e75c2404 Painter1.0 to archive
git-svn-id: svn://ultimatepp.org/upp/trunk@855 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-02-12 16:30:42 +00:00
cxl
f5eca158c8 Removed DUMPs
git-svn-id: svn://ultimatepp.org/upp/trunk@781 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-17 12:52:45 +00:00
cxl
82b316980d Painter - fixes, printing fixes, NOAA (for better printing output)
git-svn-id: svn://ultimatepp.org/upp/trunk@779 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-17 11:58:41 +00:00
cxl
eb896f6fdb Painter::DrawRect fix
git-svn-id: svn://ultimatepp.org/upp/trunk@769 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-16 17:26:19 +00:00
cxl
8172fd64e6 Removed forgotten RTIMIN
git-svn-id: svn://ultimatepp.org/upp/trunk@768 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-16 17:13:16 +00:00
cxl
3faa22d3a8 Painter fix
git-svn-id: svn://ultimatepp.org/upp/trunk@767 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-16 17:12:35 +00:00
cxl
e0966b540d minor Painter fix
git-svn-id: svn://ultimatepp.org/upp/trunk@764 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-16 16:43:17 +00:00
cxl
51be4695ec Painter linux fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@762 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-16 16:30:13 +00:00
cxl
12ad01cb83 Painter hook API in Draw, Report improcements
git-svn-id: svn://ultimatepp.org/upp/trunk@761 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-16 16:17:47 +00:00
cxl
a6a9c00dc7 Painter fixed to work in X11 and GCC
git-svn-id: svn://ultimatepp.org/upp/trunk@759 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-16 16:08:14 +00:00
cxl
c17daff3a9 Replaced agg pixfmts
git-svn-id: svn://ultimatepp.org/upp/trunk@751 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-15 22:25:48 +00:00
cxl
c01865a3ef Added Painter - high quality, AGG based, software renderer, also NEVER_(msg)
git-svn-id: svn://ultimatepp.org/upp/trunk@745 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-14 10:46:18 +00:00