Changeset 6141 for trunk/WINDOW/AW_device.cxx
- Timestamp:
- 14/08/09 16:29:27 (3 years ago)
- Files:
-
- 1 modified
-
trunk/WINDOW/AW_device.cxx (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WINDOW/AW_device.cxx
r5901 r6141 13 13 14 14 void AW_clip::set_cliprect(AW_rectangle *rect, bool allow_oversize) { 15 clip_rect = *rect; // coordin tes : (0,0) = top-left-corner15 clip_rect = *rect; // coordinates : (0,0) = top-left-corner 16 16 if (!allow_oversize){ 17 17 if (clip_rect.t < common->screen.t) clip_rect.t = common->screen.t; … … 244 244 245 245 246 void AW_GC_Xm::set_fill(AW_grey_level grey_leveli) { // <0 don t fill 0.0 white 1.0 black246 void AW_GC_Xm::set_fill(AW_grey_level grey_leveli) { // <0 don't fill 0.0 white 1.0 black 247 247 grey_level = grey_leveli; 248 248 } … … 752 752 if (Y0+(AW_pos)(xfs->max_bounds.descent) < clip_rect.t) return 0; // draw outside screen 753 753 }else { 754 if (Y0-(AW_pos)(xfs->max_bounds.ascent) < clip_rect.t) return 0; // don t cross the clip border754 if (Y0-(AW_pos)(xfs->max_bounds.ascent) < clip_rect.t) return 0; // don't cross the clip border 755 755 } 756 756 … … 758 758 if (Y0-(AW_pos)(xfs->max_bounds.ascent) > clip_rect.b) return 0; // draw outside screen 759 759 }else { 760 if (Y0+(AW_pos)(xfs->max_bounds.descent)> clip_rect.b) return 0; // don t cross the clip border760 if (Y0+(AW_pos)(xfs->max_bounds.descent)> clip_rect.b) return 0; // don't cross the clip border 761 761 } 762 762
