summaryrefslogtreecommitdiff
path: root/src/cd.c
diff options
context:
space:
mode:
authorscuri <scuri>2010-05-27 02:53:08 +0000
committerscuri <scuri>2010-05-27 02:53:08 +0000
commitb13afc2e6f0811cc14532c4f1060bc73b6053df4 (patch)
tree290a877d7397eab85226b719254b6c4ca1b12147 /src/cd.c
parenta089059af0f396f778df1b56e0e292416bc35d6b (diff)
*** empty log message ***
Diffstat (limited to 'src/cd.c')
-rw-r--r--src/cd.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/cd.c b/src/cd.c
index 1843a27..1c64def 100644
--- a/src/cd.c
+++ b/src/cd.c
@@ -53,7 +53,7 @@ static void cd_setdefaultfunc(cdCanvas* canvas)
{
canvas->cxGetTextSize = cdgettextsizeEX;
canvas->cxGetFontDim = cdgetfontdimEX;
- canvas->cxRect = cdrectSIM;
+ canvas->cxRect = cdSimRect;
}
static void cd_setdefaultattrib(cdCanvas* canvas)
@@ -276,48 +276,48 @@ int cdCanvasSimulate(cdCanvas* canvas, int mode)
if (mode & CD_SIM_LINE)
{
- canvas->cxLine = cdlineSIM;
+ canvas->cxLine = cdSimLine;
canvas->cxFLine = NULL;
}
if (mode & CD_SIM_RECT)
{
- canvas->cxRect = cdrectSIM;
+ canvas->cxRect = cdSimRect;
canvas->cxFRect = NULL;
}
if (mode & CD_SIM_BOX)
{
- canvas->cxBox = cdboxSIM;
+ canvas->cxBox = cdSimBox;
canvas->cxFBox = NULL;
}
if (mode & CD_SIM_ARC)
{
- canvas->cxArc = cdarcSIM;
+ canvas->cxArc = cdSimArc;
canvas->cxFArc = NULL;
}
if (mode & CD_SIM_SECTOR)
{
- canvas->cxSector = cdsectorSIM;
+ canvas->cxSector = cdSimSector;
canvas->cxFSector = NULL;
}
if (mode & CD_SIM_CHORD)
{
- canvas->cxChord = cdchordSIM;
+ canvas->cxChord = cdSimChord;
canvas->cxFChord = NULL;
}
if (mode & CD_SIM_TEXT)
{
- canvas->cxText = cdtextSIM;
+ canvas->cxText = cdSimTextFT;
canvas->cxFText = NULL;
canvas->cxNativeFont = NULL;
- canvas->cxFont = cdfontSIM;
- canvas->cxGetFontDim = cdgetfontdimSIM;
- canvas->cxGetTextSize = cdgettextsizeSIM;
+ canvas->cxFont = cdSimFontFT;
+ canvas->cxGetFontDim = cdSimGetFontDimFT;
+ canvas->cxGetTextSize = cdSimGetTextSizeFT;
canvas->cxTextOrientation = NULL;
cdSimInitText(canvas->simulation);