ultimatepp/uppsrc/Draw/Draw.upp
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

86 lines
1.4 KiB
Text

description "Fundamental graphics operations, including raster image processing\377B128,0,255";
charset "UTF-8";
acceptflags
NOGTK;
uses
Core;
library(WIN32) "user32 gdi32 usp10";
link(OSX !X11) "-framework Foundation -framework Cocoa -framework Carbon";
pkg_config(POSIX !OSX) "freetype2 fontconfig";
pkg_config(POSIX !OSX !VIRTUALGUI) "x11 xcb expat";
file
Draw.h options(BUILDER_OPTION) PCH,
FontInt.h,
Font.cpp,
Fonts.i,
FontCR.cpp,
FontWin32.cpp,
FontFc.cpp,
FontCoco.mm,
Draw.cpp,
DrawText.cpp,
DrawData.cpp,
Drawing.cpp,
ImageAnyDraw.cpp,
DrawUtil.cpp,
DrawTextUtil.cpp,
Display.h,
Display.cpp,
Image readonly separator,
Image.h,
SIMD.h,
Image.cpp,
ImageBlit.cpp,
Raster.h,
RasterFormat.cpp,
RasterWrite.cpp,
Palette.cpp,
Raster.cpp,
RasterEncoder.cpp,
ImageOp.h,
ImageOp.cpp,
ImageChOp.cpp,
Mify.cpp,
ImageScale.cpp,
RescaleFilter.cpp,
MakeCache.cpp,
DrawRasterData.cpp,
Uhd.cpp,
Iml.cpp,
iml.h,
iml_header.h,
iml_source.h,
DrawImg.iml,
DDA readonly separator,
DDARasterizer.h,
DDARasterizer.cpp,
SDraw readonly separator,
SDraw.h,
SDrawClip.cpp,
SDrawPut.cpp,
SDrawText.cpp,
SDraw.cpp,
SImageDraw.cpp,
Chameleon readonly separator,
Cham.h,
Cham.cpp,
SColors.cpp,
GTK-dli readonly separator,
gobj.dli,
gdk.dli,
gpixbuf.dli,
gtk.dli,
gnome.dli,
Info readonly separator,
src.tpp,
srcdoc.tpp,
Copying;