mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:30:37 +00:00
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:
parent
14176f6a78
commit
e87446b5cb
5 changed files with 22 additions and 1 deletions
|
@ -1169,7 +1169,8 @@ typedef struct _PathElement
|
|||
|
||||
- (void)appendBezierPathWithPackedGlyphs:(const char *)packedGlyphs
|
||||
{
|
||||
// TODO
|
||||
[GSCurrentContext() appendBezierPathWithPackedGlyphs: packedGlyphs
|
||||
path: self];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue