MCPcopy Create free account
hub / github.com/SOUI2/soui / join

Method join

third-part/SkMatrix/src/SkRect.cpp:13–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12namespace SOUI{
13void SkIRect::join(int32_t left, int32_t top, int32_t right, int32_t bottom) {
14 // do nothing if the params are empty
15 if (left >= right || top >= bottom) {
16 return;
17 }
18
19 // if we are empty, just assign
20 if (fLeft >= fRight || fTop >= fBottom) {
21 this->set(left, top, right, bottom);
22 } else {
23 if (left < fLeft) fLeft = left;
24 if (top < fTop) fTop = top;
25 if (right > fRight) fRight = right;
26 if (bottom > fBottom) fBottom = bottom;
27 }
28}
29
30void SkIRect::sort() {
31 if (fLeft > fRight) {

Callers 15

copyMethod · 0.45
add_fileMethod · 0.45
get_valueMethod · 0.45
amalgamate_sourceFunction · 0.45
svn_commandFunction · 0.45
check_no_pending_commitFunction · 0.45
check_compileFunction · 0.45
run_sftp_batchFunction · 0.45
sourceforge_web_synchroFunction · 0.45
mainFunction · 0.45
find_programFunction · 0.45

Calls 1

setMethod · 0.45

Tested by 2

copyMethod · 0.36
runAllTestsFunction · 0.36