FillRect() fills an area to a specific color.
Definition at line 476 of file CATImage.cpp. References CATCOLOR::a, AbsWidth(), CATCOLOR::b, CAT_ERR_IMAGE_FILL_OUT_OF_BOUNDS, CAT_ERR_IMAGE_MUST_INITIALIZE, CAT_SUCCESS, CATASSERT, CATRESULT, fData, fHeight, fWidth, CATCOLOR::g, CATRect::Height(), CATRect::Inside(), kBytesPerPixel, CATRECT::left, CATCOLOR::r, CATRECT::top, CATRect::Width(), XOffsetAbs(), and YOffsetAbs(). Referenced by CATWindow::CleanBackground(), CATSwitchMulti::Draw(), CATSwitch::Draw(), CATSlider::Draw(), CATRadioButton::Draw(), CATProgress::Draw(), CATPictureMulti::Draw(), CATPicture::Draw(), CATKnob::Draw(), CATControl::Draw(), and CATWindow::ResetBackground().
|