Home
last modified time | relevance | path

Searched refs:miny (Results 1 – 14 of 14) sorted by relevance

/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_drawpoint.c68 int minx, miny; in SDL_DrawPoints() local
84 miny = dst->clip_rect.y; 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
345 miny = dst->clip_rect.y; 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.c196 int miny = 0; in SDL_EnclosePoints() local
239 miny = maxy = y; in SDL_EnclosePoints()
248 if (y < miny) { in SDL_EnclosePoints()
249 miny = y; in SDL_EnclosePoints()
265 miny = maxy = points[0].y; in SDL_EnclosePoints()
276 if (y < miny) { in SDL_EnclosePoints()
277 miny = y; in SDL_EnclosePoints()
286 result->y = miny; in SDL_EnclosePoints()
288 result->h = (maxy-miny)+1; in SDL_EnclosePoints()
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dbm_chaos.py134 self.miny = min([p.y for spl in splines for p in spl.points])
137 self.height = self.maxy - self.miny
163 y = (point.y - self.miny) / self.height
193 if point.y < self.miny:
194 point.y = self.miny
202 point = GVector((self.maxx + self.minx) / 2, (self.maxy + self.miny) / 2, 0)
206 y = (point.y - self.miny) / self.height * h
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_rect.c983 miny = newy; in rect_testEnclosePoints()
988 if (newy < miny) miny = newy; in rect_testEnclosePoints()
1016 …LTest_AssertCheck(result.x==minx && result.y==miny && result.w==(maxx - minx + 1) && result.h==(ma… in rect_testEnclosePoints()
1059 miny = newy; in rect_testEnclosePointsRepeatedInput()
1064 if (newy < miny) miny = newy; in rect_testEnclosePointsRepeatedInput()
1092 …LTest_AssertCheck(result.x==minx && result.y==miny && result.w==(maxx - minx + 1) && result.h==(ma… in rect_testEnclosePointsRepeatedInput()
1139 miny = newy; in rect_testEnclosePointsWithClipping()
1144 if (newy < miny) miny = newy; in rect_testEnclosePointsWithClipping()
1180 …LTest_AssertCheck(result.x==minx && result.y==miny && result.w==(maxx - minx + 1) && result.h==(ma… 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.c580 const GLfloat miny = rect->y; in GLES_QueueFillRects() local
583 *(verts++) = miny; in GLES_QueueFillRects()
585 *(verts++) = miny; in GLES_QueueFillRects()
600 GLfloat minx, miny, maxx, maxy; in GLES_QueueCopy() local
611 miny = dstrect->y; in GLES_QueueCopy()
625 *(verts++) = miny; in GLES_QueueCopy()
627 *(verts++) = miny; in GLES_QueueCopy()
651 GLfloat minx, miny, maxx, maxy; in GLES_QueueCopyEx() local
677 miny = -centery; in GLES_QueueCopyEx()
693 *(verts++) = miny; in GLES_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/src/ttf/
A DSDL_ttf.c59 int miny; member
641 cached->miny = cached->maxy - FT_CEIL(metrics->height); in Load_Glyph()
654 … cached->miny = cached->maxy - FT_CEIL(face->available_sizes[font->font_size_family].height); in Load_Glyph()
1179 int* minx, int* maxx, int* miny, int* maxy, int* advance) in TTF_GlyphMetrics() argument
1198 if (miny) { in TTF_GlyphMetrics()
1199 *miny = font->current->miny; in TTF_GlyphMetrics()
1236 int miny, maxy; in TTF_SizeUTF8() local
1249 miny = maxy = 0; in TTF_SizeUTF8()
1318 if (glyph->miny < miny) { in TTF_SizeUTF8()
1319 miny = glyph->miny; in TTF_SizeUTF8()
[all …]
/AliOS-Things-master/components/freetype/src/raster/
A Dftraster.c1094 Long miny, in Line_Up() argument
1110 if ( y1 < miny ) in Line_Up()
1114 x1 += SMulDiv( Dx, miny - y1, Dy ); in Line_Up()
1115 e1 = (Int)TRUNC( miny ); in Line_Up()
1233 Long miny, in Line_Down() argument
1278 Long miny, in Bezier_Up() argument
1295 if ( y2 < miny || y1 > maxy ) in Bezier_Up()
1303 e0 = miny; in Bezier_Up()
1305 if ( y1 < miny ) in Bezier_Up()
1306 e = miny; in Bezier_Up()
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengl/
A DSDL_render_gl.c878 GLfloat minx, miny, maxx, maxy; in GL_QueueCopy() local
889 miny = dstrect->y; in GL_QueueCopy()
904 *(verts++) = miny; in GL_QueueCopy()
920 GLfloat minx, miny, maxx, maxy; in GL_QueueCopyEx() local
942 miny = dstrect->h - centery; in GL_QueueCopyEx()
946 miny = -centery; in GL_QueueCopyEx()
961 *(verts++) = miny; in GL_QueueCopyEx()
1293 data->glVertex2f(minx, miny); in GL_RunCommandQueue()
1295 data->glVertex2f(maxx, miny); in GL_RunCommandQueue()
1325 data->glVertex2f(minx, miny); in GL_RunCommandQueue()
[all …]
/AliOS-Things-master/components/SDL2/src/render/direct3d/
A DSDL_render_d3d.c853 const float miny = rect->y; in D3D_QueueFillRects() local
857 verts->y = miny; in D3D_QueueFillRects()
862 verts->y = miny; in D3D_QueueFillRects()
885 float minx, miny, maxx, maxy; in D3D_QueueCopy() local
897 miny = dstrect->y - 0.5f; in D3D_QueueCopy()
907 verts->y = miny; in D3D_QueueCopy()
915 verts->y = miny; in D3D_QueueCopy()
947 float minx, miny, maxx, maxy; in D3D_QueueCopyEx() local
960 miny = -center->y; in D3D_QueueCopyEx()
980 verts->y = miny; in D3D_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengles2/
A DSDL_render_gles2.c802 const GLfloat miny = rect->y; in GLES2_QueueFillRects() local
805 *(verts++) = miny; in GLES2_QueueFillRects()
807 *(verts++) = miny; in GLES2_QueueFillRects()
821 GLfloat minx, miny, maxx, maxy; in GLES2_QueueCopy() local
832 miny = dstrect->y; in GLES2_QueueCopy()
842 *(verts++) = miny; in GLES2_QueueCopy()
844 *(verts++) = miny; in GLES2_QueueCopy()
873 GLfloat minx, miny, maxx, maxy; in GLES2_QueueCopyEx() local
893 miny = dstrect->y; in GLES2_QueueCopyEx()
906 *(verts++) = miny; in GLES2_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/include/
A DSDL_ttf.h168 int *miny, int *maxy, int *advance);
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxPrimitives.c5202 int miny, maxy; in filledPolygonColorMT() local
5298 miny = vy[0]; in filledPolygonColorMT()
5301 if (vy[i] < miny) { in filledPolygonColorMT()
5302 miny = vy[i]; in filledPolygonColorMT()
5312 for (y = miny; (y <= maxy); y++) { in filledPolygonColorMT()
5580 int minx,maxx,miny, maxy; in texturedPolygonMT() local
5656 miny = vy[0]; in texturedPolygonMT()
5661 if (vy[i] < miny) { in texturedPolygonMT()
5662 miny = vy[i]; in texturedPolygonMT()
5675 if (maxy <0 || miny > dst->h){ in texturedPolygonMT()
[all …]
/AliOS-Things-master/components/SDL2/src/render/direct3d11/
A DSDL_render_d3d11.c1741 float minx, miny, maxx, maxy; in D3D11_QueueCopyEx() local
1752 miny = -center->y; in D3D11_QueueCopyEx()
1774 verts->pos.y = miny; in D3D11_QueueCopyEx()
1796 verts->pos.y = miny; in D3D11_QueueCopyEx()

Completed in 49 milliseconds