[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can DPSshow be implemented by _showString:xCharAdj:yCharAdj:char:adjArra
From: |
Derek Fawcus |
Subject: |
Can DPSshow be implemented by _showString:xCharAdj:yCharAdj:char:adjArray:arrType:isRelative: ? |
Date: |
Thu, 5 Aug 2010 18:31:50 -0700 |
User-agent: |
Mutt/1.4.2.3i |
I see that most of the other DPS text output routines are implemented in terms
of the
above helper routine. Maybe I'm missing something, but is there any reason why
DPSshow cannot also be implemented by it? Maybe something like:
- (void) DPSshow: (const char*)s
{
float arr[2];
arr[0] = 0; arr[1] = 0;
[self _showString: s
xCharAdj: 0 yCharAdj: 0 char: 0 adjArray: arr arrType: show_delta
isRelative: YES];
}
added to Source/gsc/GSGState.m ?
Which would then allow all of the backends (barring
Source/xdps/NSDPSContextOps.m) to be simplified?
- Can DPSshow be implemented by _showString:xCharAdj:yCharAdj:char:adjArray:arrType:isRelative: ?,
Derek Fawcus <=