Parent Directory
|
Revision Log
|
Patch
revision 862 by frank, Thu May 8 12:27:15 2003 UTC | revision 866 by frank, Thu May 8 13:40:32 2003 UTC | |
---|---|---|
# | Line 66 class ScaleBar: | Line 66 class ScaleBar: |
66 | dc.SetTextForeground(BlackText) | dc.SetTextForeground(BlackText) |
67 | dc.DrawText("%d"%0, 4 - l1width/2, 12) | dc.DrawText("%d"%0, 4 - l1width/2, 12) |
68 | ||
69 | l2width, l2height = dc.GetTextExtent("%d %s"%(label, unit)) | l2width, l2height = dc.GetTextExtent("%s %s"%(label, unit)) |
70 | dc.DrawText("%d %s"%(interval, unit), 2*width+4 - l2width/2, 12) | dc.DrawText("%s %s"%(interval, unit), 2*width+4 - l2width/2, 12) |
71 |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |