/external/libgdx/gdx/src/com/badlogic/gdx/maps/objects/ |
PolygonMapObject.java | 8 import com.badlogic.gdx.math.Polygon; 10 /** @brief Represents {@link Polygon} map objects */ 13 private Polygon polygon; field in class:PolygonMapObject 15 /** @return polygon shape */ 16 public Polygon getPolygon () { 17 return polygon; 20 /** @param polygon new object's polygon shape */ 21 public void setPolygon (Polygon polygon) [all...] |
/external/skia/src/svg/parser/ |
SkSVGPolygon.h | 16 DECLARE_SVG_INFO(Polygon);
|
SkSVGPolygon.cpp | 19 DEFINE_SVG_INFO(Polygon) 27 parser._startElement("polygon");
|
/external/mesa3d/src/mesa/main/ |
polygon.c | 2 * \file polygon.c 3 * Polygon operations. 38 #include "polygon.h" 67 if (ctx->Polygon.CullFaceMode == mode) 71 ctx->Polygon.CullFaceMode = mode; 103 if (ctx->Polygon.FrontFace == mode) 107 ctx->Polygon.FrontFace = mode; 109 ctx->Polygon._FrontBit = (GLboolean) (mode == GL_CW); 117 * Set the polygon rasterization mode. 150 if (ctx->Polygon.FrontMode == mode [all...] |
state.c | 368 * Check polygon state and set DD_TRI_OFFSET 376 if ( ctx->Polygon.OffsetPoint 377 || ctx->Polygon.OffsetLine 378 || ctx->Polygon.OffsetFill) 419 if (ctx->Polygon.SmoothFlag) 421 if (ctx->Polygon.StippleFlag) 423 if (ctx->Polygon.FrontMode != GL_FILL 424 || ctx->Polygon.BackMode != GL_FILL) 426 if (ctx->Polygon.OffsetPoint || 427 ctx->Polygon.OffsetLine | [all...] |
enable.c | 346 if (ctx->Polygon.CullFlag == state) 349 ctx->Polygon.CullFlag = state; 608 if (ctx->Polygon.SmoothFlag == state) 611 ctx->Polygon.SmoothFlag = state; 617 if (ctx->Polygon.StippleFlag == state) 620 ctx->Polygon.StippleFlag = state; 626 if (ctx->Polygon.OffsetPoint == state) 629 ctx->Polygon.OffsetPoint = state; 634 if (ctx->Polygon.OffsetLine == state) 637 ctx->Polygon.OffsetLine = state [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv10_state_polygon.c | 38 GLenum mode = ctx->Polygon.CullFaceMode; 41 PUSH_DATAb(push, ctx->Polygon.CullFlag); 55 PUSH_DATA (push, ctx->Polygon.FrontFace == GL_CW ? 96 PUSH_DATA (push, nvgl_polygon_mode(ctx->Polygon.FrontMode)); 97 PUSH_DATA (push, nvgl_polygon_mode(ctx->Polygon.BackMode)); 100 PUSH_DATAb(push, ctx->Polygon.SmoothFlag); 109 PUSH_DATAb(push, ctx->Polygon.OffsetPoint); 110 PUSH_DATAb(push, ctx->Polygon.OffsetLine); 111 PUSH_DATAb(push, ctx->Polygon.OffsetFill); 114 PUSH_DATAf(push, ctx->Polygon.OffsetFactor) [all...] |
nv04_state_raster.c | 125 int cull = ctx->Polygon.CullFaceMode; 126 int front = ctx->Polygon.FrontFace; 138 if (!ctx->Polygon.CullFlag)
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_clip.c | 163 if (ctx->Polygon.CullFlag && 164 ctx->Polygon.CullFaceMode == GL_FRONT_AND_BACK) 172 if (!ctx->Polygon.CullFlag || 173 ctx->Polygon.CullFaceMode != GL_FRONT) { 174 switch (ctx->Polygon.FrontMode) { 181 offset_front = ctx->Polygon.OffsetLine; 185 offset_front = ctx->Polygon.OffsetPoint; 190 if (!ctx->Polygon.CullFlag || 191 ctx->Polygon.CullFaceMode != GL_BACK) { 192 switch (ctx->Polygon.BackMode) [all...] |
gen7_clip_state.c | 54 if ((ctx->Polygon.FrontFace == GL_CCW) ^ render_to_fbo) 57 if (ctx->Polygon.CullFlag) { 58 switch (ctx->Polygon.CullFaceMode) {
|
gen6_sf_state.c | 148 if ((ctx->Polygon.FrontFace == GL_CCW) ^ render_to_fbo) 151 if (ctx->Polygon.OffsetFill) 154 if (ctx->Polygon.OffsetLine) 157 if (ctx->Polygon.OffsetPoint) 160 switch (ctx->Polygon.FrontMode) { 178 switch (ctx->Polygon.BackMode) { 201 if (ctx->Polygon.CullFlag) { 202 switch (ctx->Polygon.CullFaceMode) { 339 OUT_BATCH_F(ctx->Polygon.OffsetUnits * 2); /* constant. copied from gen4 */ 340 OUT_BATCH_F(ctx->Polygon.OffsetFactor); /* scale * [all...] |
gen7_sf_state.c | 176 if ((ctx->Polygon.FrontFace == GL_CCW) ^ render_to_fbo) 179 if (ctx->Polygon.OffsetFill) 182 if (ctx->Polygon.OffsetLine) 185 if (ctx->Polygon.OffsetPoint) 188 switch (ctx->Polygon.FrontMode) { 206 switch (ctx->Polygon.BackMode) { 226 if (ctx->Polygon.CullFlag) { 227 switch (ctx->Polygon.CullFaceMode) { 298 OUT_BATCH_F(ctx->Polygon.OffsetUnits * 2); /* constant. copied from gen4 */ 299 OUT_BATCH_F(ctx->Polygon.OffsetFactor); /* scale * [all...] |
brw_wm_state.c | 201 wm->wm5.polygon_stipple = ctx->Polygon.StippleFlag; 204 if (ctx->Polygon.OffsetFill) { 211 wm->global_depth_offset_constant = ctx->Polygon.OffsetUnits * 2; 215 wm->global_depth_offset_scale = ctx->Polygon.OffsetFactor;
|
brw_sf_state.c | 203 if (ctx->Polygon.FrontFace == GL_CCW) 210 * polygon front/back orientation. 215 switch (ctx->Polygon.CullFlag ? ctx->Polygon.CullFaceMode : GL_NONE) {
|
brw_wm.c | 535 if (ctx->Polygon.FrontMode == GL_LINE) { 538 if (ctx->Polygon.BackMode == GL_LINE || 539 (ctx->Polygon.CullFlag && 540 ctx->Polygon.CullFaceMode == GL_BACK)) 543 else if (ctx->Polygon.BackMode == GL_LINE) { 546 if ((ctx->Polygon.CullFlag && 547 ctx->Polygon.CullFaceMode == GL_FRONT))
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_rasterizer.c | 71 raster->front_ccw = (ctx->Polygon.FrontFace == GL_CCW); 102 if (ctx->Polygon.CullFlag) { 103 switch (ctx->Polygon.CullFaceMode) { 122 raster->fill_front = translate_fill( ctx->Polygon.FrontMode ); 123 raster->fill_back = translate_fill( ctx->Polygon.BackMode ); 138 if (ctx->Polygon.OffsetUnits != 0.0 || 139 ctx->Polygon.OffsetFactor != 0.0) { 140 raster->offset_point = ctx->Polygon.OffsetPoint; 141 raster->offset_line = ctx->Polygon.OffsetLine; 142 raster->offset_tri = ctx->Polygon.OffsetFill [all...] |
st_atom_shader.c | 146 st->ctx->Polygon.FrontMode != GL_FILL || 147 st->ctx->Polygon.BackMode != GL_FILL));
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/ |
Shape.java | 33 Circle, Edge, Polygon, Chain,
|
PolygonShape.java | 27 /** Constructs a new polygon */ 44 return Type.Polygon; 47 /** Copy vertices. This assumes the vertices define a convex polygon. It is assumed that the exterior is the the right of each 58 /** Copy vertices from the given float array. It is assumed the vertices are in x,y order and define a convex polygon. It is 65 * x,y order and define a convex polygon. It is assumed that the exterior is the the right of each edge. */
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/ |
Shape.java | 28 Circle, Polygon, Edge, Chain,
|
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_tritmp.h | 140 facing = AREA_IS_CCW( cc ) ^ ctx->Polygon._FrontBit; 144 mode = ctx->Polygon.BackMode; 145 if (ctx->Polygon.CullFlag && 146 ctx->Polygon.CullFaceMode != GL_FRONT) { 150 mode = ctx->Polygon.FrontMode; 151 if (ctx->Polygon.CullFlag && 152 ctx->Polygon.CullFaceMode != GL_BACK) { 226 offset = ctx->Polygon.OffsetUnits * DEPTH_SCALE; 240 offset += MAX2( ac, bc ) * ctx->Polygon.OffsetFactor / ctx->DrawBuffer->_MRD; 260 if (DO_OFFSET && ctx->Polygon.OffsetPoint) [all...] |
/external/mesa3d/src/mesa/swrast_setup/ |
ss_triangle.c | 124 if (ctx->Polygon.CullFlag) { 125 if (facing == 1 && ctx->Polygon.CullFaceMode != GL_FRONT) 127 if (facing == 0 && ctx->Polygon.CullFaceMode != GL_BACK) 244 if (ctx->Polygon.OffsetPoint || 245 ctx->Polygon.OffsetLine || 246 ctx->Polygon.OffsetFill) 256 if (ctx->Polygon.FrontMode != GL_FILL || 257 ctx->Polygon.BackMode != GL_FILL ||
|
ss_tritmp.h | 31 * facing, compute polygon offset and handle glPolygonMode(). 61 facing = (cc < 0.0) ^ ctx->Polygon._FrontBit; 64 mode = facing ? ctx->Polygon.BackMode : ctx->Polygon.FrontMode; 140 offset = ctx->Polygon.OffsetUnits; 147 offset += MAX2(dzdx, dzdy) * ctx->Polygon.OffsetFactor; 157 if ((IND & SS_OFFSET_BIT) && ctx->Polygon.OffsetPoint) { 164 if ((IND & SS_OFFSET_BIT) && ctx->Polygon.OffsetLine) { 171 if ((IND & SS_OFFSET_BIT) && ctx->Polygon.OffsetFill) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Polygon.java | 19 /** Encapsulates a 2D polygon defined by it's vertices relative to an origin point (default of 0, 0). */
20 public class Polygon implements Shape2D {
30 /** Constructs a new polygon with no vertices. */
31 public Polygon () {
35 /** Constructs a new polygon from a float array of parts of vertex points.
41 public Polygon (float[] vertices) {
46 /** Returns the polygon's local vertices without scaling or rotation and without being offset by the polygon position. */
51 /** Calculates and returns the vertices of the polygon after scaling, rotation, and positional translations have been applied,
54 * @return vertices scaled, rotated, and offset by the polygon position. */ [all...] |
/external/skia/src/animator/ |
SkDrawPath.h | 63 DECLARE_MEMBER_INFO(Polygon);
|