[qwaq] Add blitFromBuffer to TextContext protocol

This commit is contained in:
Bill Currie 2020-03-19 13:48:48 +09:00
parent 2f3ca9d9e4
commit 01835cbd94
2 changed files with 2 additions and 1 deletions

View file

@ -15,6 +15,7 @@
@end
@protocol TextContext
- blitFromBuffer: (DrawBuffer *) srcBuffer to: (Point) pos from: (Rect) rect;
- (Extent) size;
- (void) printf: (string) fmt, ...;

View file

@ -118,7 +118,7 @@
}
}
}
[(id)textContext blitFromBuffer: buf to: makePoint (6, 3) from: [buf rect]];
[textContext blitFromBuffer: buf to: makePoint (6, 3) from: [buf rect]];
[self refresh];
return self;
}