diff options
author | culler <culler> | 2021-04-22 17:07:28 (GMT) |
---|---|---|
committer | culler <culler> | 2021-04-22 17:07:28 (GMT) |
commit | 019923f12e5ac43053840de0701390146ae57907 (patch) | |
tree | 062dab0df9da68356ef83a19f89394751ccdc920 /macosx/tkMacOSXFont.c | |
parent | 66304f744b14ffc5eb42724284c279e91de9444d (diff) | |
download | tk-019923f12e5ac43053840de0701390146ae57907.zip tk-019923f12e5ac43053840de0701390146ae57907.tar.gz tk-019923f12e5ac43053840de0701390146ae57907.tar.bz2 |
Remove unneeded portBounds field from TkMacOSXDrawingContext; add more graphics debugging tools.
Diffstat (limited to 'macosx/tkMacOSXFont.c')
-rw-r--r-- | macosx/tkMacOSXFont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c index 2a28f73..8189bdb 100644 --- a/macosx/tkMacOSXFont.c +++ b/macosx/tkMacOSXFont.c @@ -1217,7 +1217,7 @@ TkpDrawAngledCharsInContext( (CFAttributedStringRef)attributedString); textX += (CGFloat) macWin->xOff; textY += (CGFloat) macWin->yOff; - height = drawingContext.portBounds.size.height; + height = [drawingContext.view bounds].size.height; textY = height - textY; t = CGAffineTransformMake(1.0, 0.0, 0.0, -1.0, 0.0, height); if (angle != 0.0) { |