Implement basic appendBezierPathWithPackedGlyphs: handling to forward to

the backend.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26435 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2008-04-07 13:45:41 +00:00
parent 14176f6a78
commit e87446b5cb
5 changed files with 22 additions and 1 deletions

View file

@ -1169,7 +1169,8 @@ typedef struct _PathElement
- (void)appendBezierPathWithPackedGlyphs:(const char *)packedGlyphs
{
// TODO
[GSCurrentContext() appendBezierPathWithPackedGlyphs: packedGlyphs
path: self];
}

View file

@ -1473,6 +1473,8 @@ int NSConvertGlyphsToPackedGlyphs(NSGlyph *glBuf,
int j;
j = 0;
// Store the number of glyphs in the first byte.
packedGlyphs[j++] = count;
for (i = 0; i < count; i++)
{
NSGlyph g = glBuf[i];

View file

@ -906,6 +906,12 @@ NSGraphicsContext *GSCurrentContext(void)
[self subclassResponsibility: _cmd];
}
- (void) appendBezierPathWithPackedGlyphs: (const char *)packedGlyphs
path: (NSBezierPath*)aPath
{
[self subclassResponsibility: _cmd];
}
/** Display the string s using the current font (DPS). */
- (void) DPSshow: (const char *)s
{