From 7dc817d0c129e0b6a37a54b679c42322a659b060 Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 1 Dec 2009 18:49:30 +0000 Subject: *** empty log message *** --- html/en/history.html | 6 ++++++ mak.vc9/cdtest.vcproj | 1 + test/cdtest/cdtest.c | 3 +-- test/mf/align.mf | 38 ++++++++++++++++++++------------------ test/mf/alignorient.mf | 37 ++++++++++++++++++++----------------- test/mf/alignxor.mf | 39 +++++++++++++++++++++------------------ 6 files changed, 69 insertions(+), 55 deletions(-) diff --git a/html/en/history.html b/html/en/history.html index 7464f1d..ebecfbc 100644 --- a/html/en/history.html +++ b/html/en/history.html @@ -32,6 +32,12 @@ added missing support for alpha channel in image:cdCreateCanvas, cd:imImageCreate, image:cdCreateBitmap and image:cdInitBitmap in cdluaim binding. +
  • Changed: + ANTIALIAS attribute is now respected also by CanvasText in + the IMAGERGB driver.
  • +
  • Changed: + WriteMode=XOR is ignored if alpha transparency is used in the IMAGERGB + driver.
  • Fixed: indexing of cdImageRGB, cdImageRGBA and cdBitmap objects in Lua.
  • diff --git a/mak.vc9/cdtest.vcproj b/mak.vc9/cdtest.vcproj index 6f0f4fc..b9bcce3 100644 --- a/mak.vc9/cdtest.vcproj +++ b/mak.vc9/cdtest.vcproj @@ -79,6 +79,7 @@ LinkIncremental="1" SuppressStartupBanner="true" AdditionalLibraryDirectories="..\lib,..\..\iup\lib" + GenerateManifest="false" GenerateDebugInformation="true" ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb" SubSystem="1" diff --git a/test/cdtest/cdtest.c b/test/cdtest/cdtest.c index 82cc812..f5aa9f4 100644 --- a/test/cdtest/cdtest.c +++ b/test/cdtest/cdtest.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include "cdtest.h" @@ -232,7 +231,7 @@ void CDTestInit(void) if (use_gdiplus) { #ifdef USE_GDIPLUS - cdInitGdiPlus(); + cdInitContextPlus(); #endif } diff --git a/test/mf/align.mf b/test/mf/align.mf index 110ac39..dfde3bb 100644 --- a/test/mf/align.mf +++ b/test/mf/align.mf @@ -1,45 +1,47 @@ CDMF 383 410 27 255 255 255 -28 0 0 0 +28 0 255 255 13 1 14 0 15 0 -16 1 +16 0 18 0 17 0 -21 0 0 12 -23 9 33 0 24 1 25 10 1 25 5 -27 0 255 255 +28 0 0 255 12 151 328 -21 2 0 10 -8 151 329 TMWjfgoiuá +21 2 0 12 +23 9 +8 151 329 Base Left 23 10 -8 150 328 TMWjfgoiuá +8 150 328 Base Center 23 11 -8 151 327 TMWjfgoiuá +8 151 327 Base Right +28 255 0 0 12 151 253 23 0 -8 151 253 TMWjfgoiuá +8 151 253 North 23 1 -8 151 252 TMWjfgoiuá +8 151 252 South 23 2 -8 150 254 TMWjfgoiuá +8 150 254 East 23 3 -8 152 255 TMWjfgoiuá +8 152 255 West +28 0 255 0 12 285 335 23 8 -8 285 336 TMWjfgoiuá +8 285 336 Center +28 0 255 255 12 150 151 23 4 -8 151 151 TMWjfgoiuá +8 151 151 North East 23 5 -8 150 151 TMWjfgoiuá +8 150 151 North West 23 6 -8 149 152 TMWjfgoiuá +8 149 152 South East 23 7 -8 149 152 TMWjfgoiuá +8 149 152 South West diff --git a/test/mf/alignorient.mf b/test/mf/alignorient.mf index dbaa907..92784ac 100644 --- a/test/mf/alignorient.mf +++ b/test/mf/alignorient.mf @@ -2,43 +2,46 @@ CDMF 383 410 27 255 255 255 28 0 255 255 13 1 -14 1 +14 0 15 0 -16 1 +16 0 18 0 17 0 -21 0 0 12 -23 9 33 60 24 1 25 10 1 25 5 +28 0 0 255 12 151 328 -21 2 0 24 -8 151 329 Text +21 2 0 12 +23 9 +8 151 329 Base Left 23 10 -8 150 328 Text +8 150 328 Base Center 23 11 -8 151 327 Text +8 151 327 Base Right +28 255 0 0 12 151 253 23 0 -8 151 253 Text +8 151 253 North 23 1 -8 151 252 Text +8 151 252 South 23 2 -8 150 254 Text +8 150 254 East 23 3 -8 152 255 Text +8 152 255 West +28 0 255 0 12 285 335 23 8 -8 285 336 Text +8 285 336 Center +28 0 255 255 12 150 151 23 4 -8 151 151 Text +8 151 151 North East 23 5 -8 150 151 Text +8 150 151 North West 23 6 -8 149 152 Text +8 149 152 South East 23 7 -8 149 152 Text +8 149 152 South West diff --git a/test/mf/alignxor.mf b/test/mf/alignxor.mf index 0b7f25d..1335245 100644 --- a/test/mf/alignxor.mf +++ b/test/mf/alignxor.mf @@ -1,44 +1,47 @@ CDMF 383 410 27 255 255 255 28 0 255 255 -13 0 +13 1 14 1 15 0 -16 1 +16 0 18 0 17 0 -21 0 0 12 -23 9 -33 0 +33 60 24 1 25 10 1 25 5 +28 0 0 255 12 151 328 -21 2 0 24 -8 151 329 Text +21 2 0 12 +23 9 +8 151 329 Base Left 23 10 -8 150 328 Text +8 150 328 Base Center 23 11 -8 151 327 Text +8 151 327 Base Right +28 255 0 0 12 151 253 23 0 -8 151 253 Text +8 151 253 North 23 1 -8 151 252 Text +8 151 252 South 23 2 -8 150 254 Text +8 150 254 East 23 3 -8 152 255 Text +8 152 255 West +28 0 255 0 12 285 335 23 8 -8 285 336 Text +8 285 336 Center +28 0 255 255 12 150 151 23 4 -8 151 151 Text +8 151 151 North East 23 5 -8 150 151 Text +8 150 151 North West 23 6 -8 149 152 Text +8 149 152 South East 23 7 -8 149 152 Text +8 149 152 South West -- cgit v1.2.3