Home
last modified time | relevance | path

Searched refs:minx (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_drawpoint.c68 int minx, miny; in SDL_DrawPoints() local
82 minx = dst->clip_rect.x; in SDL_DrawPoints()
91 if (x < minx || x > maxx || y < miny || y > maxy) { in SDL_DrawPoints()
A DSDL_blendpoint.c281 int minx, miny; in SDL_BlendPoints() local
343 minx = dst->clip_rect.x; in SDL_BlendPoints()
352 if (x < minx || x > maxx || y < miny || y > maxy) { in SDL_BlendPoints()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_rect.c195 int minx = 0; in SDL_EnclosePoints() local
238 minx = maxx = x; in SDL_EnclosePoints()
243 if (x < minx) { in SDL_EnclosePoints()
244 minx = x; in SDL_EnclosePoints()
264 minx = maxx = points[0].x; in SDL_EnclosePoints()
271 if (x < minx) { in SDL_EnclosePoints()
272 minx = x; in SDL_EnclosePoints()
285 result->x = minx; in SDL_EnclosePoints()
287 result->w = (maxx-minx)+1; in SDL_EnclosePoints()
/AliOS-Things-master/components/SDL2/src/ttf/
A DSDL_ttf.c57 int minx; member
1189 if (minx) { in TTF_GlyphMetrics()
1190 *minx = font->current->minx; in TTF_GlyphMetrics()
1235 int minx, maxx; in TTF_SizeUTF8() local
1248 minx = maxx = 0; in TTF_SizeUTF8()
1297 z -= glyph->minx; in TTF_SizeUTF8()
1301 z = x + glyph->minx; in TTF_SizeUTF8()
1302 if (minx > z) { in TTF_SizeUTF8()
1303 minx = z; in TTF_SizeUTF8()
1482 xstart + glyph->minx; in TTF_RenderUTF8_Solid()
[all …]
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dbm_chaos.py133 self.minx = min([p.x for spl in splines for p in spl.points])
138 self.width = self.maxx - self.minx
162 x = (point.x - self.minx) / self.width
191 if point.x < self.minx:
192 point.x = self.minx
202 point = GVector((self.maxx + self.minx) / 2, (self.maxy + self.miny) / 2, 0)
205 x = (point.x - self.minx) / self.width * w
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_rect.c981 minx = newx; in rect_testEnclosePoints()
986 if (newx < minx) minx = newx; in rect_testEnclosePoints()
1016 …SDLTest_AssertCheck(result.x==minx && result.y==miny && result.w==(maxx - minx + 1) && result.h==(… in rect_testEnclosePoints()
1057 minx = newx; in rect_testEnclosePointsRepeatedInput()
1062 if (newx < minx) minx = newx; in rect_testEnclosePointsRepeatedInput()
1092 …SDLTest_AssertCheck(result.x==minx && result.y==miny && result.w==(maxx - minx + 1) && result.h==(… in rect_testEnclosePointsRepeatedInput()
1137 minx = newx; in rect_testEnclosePointsWithClipping()
1142 if (newx < minx) minx = newx; in rect_testEnclosePointsWithClipping()
1180 …SDLTest_AssertCheck(result.x==minx && result.y==miny && result.w==(maxx - minx + 1) && result.h==(… in rect_testEnclosePointsWithClipping()
1238 int minx, maxx, miny, maxy; in rect_testUnionRectOutside() local
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengles/
A DSDL_render_gles.c578 const GLfloat minx = rect->x; in GLES_QueueFillRects() local
582 *(verts++) = minx; in GLES_QueueFillRects()
586 *(verts++) = minx; in GLES_QueueFillRects()
600 GLfloat minx, miny, maxx, maxy; in GLES_QueueCopy() local
610 minx = dstrect->x; in GLES_QueueCopy()
624 *(verts++) = minx; in GLES_QueueCopy()
628 *(verts++) = minx; in GLES_QueueCopy()
651 GLfloat minx, miny, maxx, maxy; in GLES_QueueCopyEx() local
668 minx = -centerx; in GLES_QueueCopyEx()
692 *(verts++) = minx; in GLES_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengl/
A DSDL_render_gl.c878 GLfloat minx, miny, maxx, maxy; in GL_QueueCopy() local
888 minx = dstrect->x; in GL_QueueCopy()
903 *(verts++) = minx; in GL_QueueCopy()
920 GLfloat minx, miny, maxx, maxy; in GL_QueueCopyEx() local
933 minx = dstrect->w - centerx; in GL_QueueCopyEx()
937 minx = -centerx; in GL_QueueCopyEx()
960 *(verts++) = minx; in GL_QueueCopyEx()
1293 data->glVertex2f(minx, miny); in GL_RunCommandQueue()
1297 data->glVertex2f(minx, maxy); in GL_RunCommandQueue()
1325 data->glVertex2f(minx, miny); in GL_RunCommandQueue()
[all …]
/AliOS-Things-master/components/SDL2/src/render/direct3d/
A DSDL_render_d3d.c851 const float minx = rect->x; in D3D_QueueFillRects() local
856 verts->x = minx; in D3D_QueueFillRects()
871 verts->x = minx; in D3D_QueueFillRects()
885 float minx, miny, maxx, maxy; in D3D_QueueCopy() local
896 minx = dstrect->x - 0.5f; in D3D_QueueCopy()
906 verts->x = minx; in D3D_QueueCopy()
930 verts->x = minx; in D3D_QueueCopy()
947 float minx, miny, maxx, maxy; in D3D_QueueCopyEx() local
958 minx = -center->x; in D3D_QueueCopyEx()
979 verts->x = minx; in D3D_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengles2/
A DSDL_render_gles2.c800 const GLfloat minx = rect->x; in GLES2_QueueFillRects() local
804 *(verts++) = minx; in GLES2_QueueFillRects()
808 *(verts++) = minx; in GLES2_QueueFillRects()
821 GLfloat minx, miny, maxx, maxy; in GLES2_QueueCopy() local
831 minx = dstrect->x; in GLES2_QueueCopy()
841 *(verts++) = minx; in GLES2_QueueCopy()
845 *(verts++) = minx; in GLES2_QueueCopy()
873 GLfloat minx, miny, maxx, maxy; in GLES2_QueueCopyEx() local
885 minx = dstrect->x; in GLES2_QueueCopyEx()
905 *(verts++) = minx; in GLES2_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/include/
A DSDL_ttf.h167 int *minx, int *maxx,
/AliOS-Things-master/components/SDL2/src/render/direct3d11/
A DSDL_render_d3d11.c1741 float minx, miny, maxx, maxy; in D3D11_QueueCopyEx() local
1750 minx = -center->x; in D3D11_QueueCopyEx()
1773 verts->pos.x = minx; in D3D11_QueueCopyEx()
1784 verts->pos.x = minx; in D3D11_QueueCopyEx()
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxPrimitives.c5580 int minx,maxx,miny, maxy; in texturedPolygonMT() local
5658 minx = vx[0]; in texturedPolygonMT()
5666 if (vx[i] < minx) { in texturedPolygonMT()
5667 minx = vx[i]; in texturedPolygonMT()
5672 if (maxx <0 || minx > dst->w){ in texturedPolygonMT()

Completed in 48 milliseconds