Lines Matching refs:other
59 // 2. Call OH_Drawing_RectCreate to create another rectangle object other
60 OH_Drawing_Rect *other = OH_Drawing_RectCreate(300, 400, 700, 800);
69 // 7. Repeat steps 3-6 to set the coordinates of the other rectangle object
70 OH_Drawing_RectSetLeft(other, 100);
71 OH_Drawing_RectSetTop(other, 100);
72 OH_Drawing_RectSetRight(other, 300);
73 OH_Drawing_RectSetBottom(other, 300);
76 bool ret = OH_Drawing_RectIntersect(rect, other);
80 OH_Drawing_RectDestroy(other);
94 // 2. Call OH_Drawing_RectCreate to create another rectangle object other
95 OH_Drawing_Rect *other = OH_Drawing_RectCreate(300, 400, 700, 800);
98 OH_Drawing_RectIntersect(nullptr, other);
106 OH_Drawing_RectDestroy(other);
120 // 2. Call OH_Drawing_RectCreate to create another rectangle object other
121 OH_Drawing_Rect *other = OH_Drawing_RectCreate(100, 100, 300, 300);
130 // 7. Repeat steps 3-6 to set the coordinates of the other rectangle object
131 OH_Drawing_RectSetLeft(other, 100);
132 OH_Drawing_RectSetTop(other, 100);
133 OH_Drawing_RectSetRight(other, 300);
134 OH_Drawing_RectSetBottom(other, 300);
136 bool ret = OH_Drawing_RectJoin(rect, other);
140 OH_Drawing_RectDestroy(other);
154 // 2. Call OH_Drawing_RectCreate to create another rectangle object other
155 OH_Drawing_Rect *other = OH_Drawing_RectCreate(100, 100, 300, 300);
158 OH_Drawing_RectJoin(nullptr, other);
166 OH_Drawing_RectDestroy(other);