HexEdit/AerialView.cpp
void CAerialView::draw_left_border(CDC* pDC, int left, int right, int row, COLORREF clr)
{
	ASSERT(left < right && right <= bdr_left_);
	for (int rr = 0; rr < actual_dpix_; ++rr)
		for (int cc = left; cc < right; ++cc)
			pDC->SetPixel(cc, bdr_top_ + row*actual_dpix_ + rr, clr);
}
// Draw a rectangular block of indicator pixels in the left border
// Horizontally its drawn from the pixel at left to the one before right
// Vertically it is drawn at the row (in elts not pixels), the height
// of which is determined by actual_dpix_.

Draw a rectangular block of indicator pixels in the left border
Horizontally its drawn from the pixel at left to the one before right
Vertically it is drawn at the row (in elts not pixels), the height
of which is determined by actual_dpix_.
Draw a rectangular block of indicator pixels in the left border Horizontally its drawn from the pixel at left to the one before right Vertically it is drawn at the row ( in elts not pixels ) the height of which is determined by actual_dpix_ .
void CAerialView::draw_left_border(CDC* pDC, int left, int right, int row, COLORREF clr)
{
	ASSERT(left < right && right <= bdr_left_);
	for (int rr = 0; rr < actual_dpix_; ++rr)
		for (int cc = left; cc < right; ++cc)
			pDC->SetPixel(cc, bdr_top_ + row*actual_dpix_ + rr, clr);
}
void CAerialView :: draw_left_border ( CDC * pDC , int left , int right , int row , COLORREF clr ) { ASSERT ( left < right && right <= bdr_left_ ) ; for ( int rr = 0 ; rr < actual_dpix_ ; ++ rr ) for ( int cc = left ; cc < right ; ++ cc ) pDC -> SetPixel ( cc , bdr_top_ + row * actual_dpix_ + rr , clr ) ; }
Draw a rectangular block of indicator pixels in the left border
Horizontally its drawn from the pixel at left to the one before right
Vertically it is drawn at the row (in elts not pixels), the height
of which is determined by actual_dpix_.
Draw a rectangular block of indicator pixels in the left border Horizontally its drawn from the pixel at left to the one before right Vertically it is drawn at the row ( in elts not pixels ) the height of which is determined by actual_dpix_ .