Searched refs:triangle (Results 1 - 7 of 7) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components/triangle/ |
H A D | render_triangle.cpp | 16 #include "core/components/triangle/render_triangle.h" 18 #include "core/components/triangle/triangle_component.h" 69 // rotate with center point of triangle in Calculate() 89 auto triangle = AceType::DynamicCast<TriangleComponent>(component); in Update() local 90 if (!triangle) { in Update() 95 width_ = triangle->GetWidth(); in Update() 96 height_ = triangle->GetHeight(); in Update() 97 color_ = triangle->GetColor(); in Update() 98 padding_ = triangle->GetPadding(); in Update()
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_utils.h | 340 using DrawTriangleTransformFuc = void (*)(const TriangleScanInfo& triangle, const ColorMode bufferMode); 342 static void DrawTriangleTrueColorNearest(const TriangleScanInfo& triangle, const ColorMode bufferMode); 344 static void DrawTriangleAlphaBilinear(const TriangleScanInfo& triangle, const ColorMode bufferMode); 346 static void DrawTriangleTrueColorBilinear565(const TriangleScanInfo& triangle, const ColorMode bufferMode); 348 static void DrawTriangleTrueColorBilinear888(const TriangleScanInfo& triangle, const ColorMode bufferMode); 350 static void Draw3DTriangleTrueColorBilinear8888(const TriangleScanInfo& triangle, const ColorMode bufferMode); 352 static void DrawTriangleTrueColorBilinear8888(const TriangleScanInfo& triangle, const ColorMode bufferMode);
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_animation_controller.cpp | 30 auto triangle = ref->triangle_.Upgrade(); in CreateTriangleAnimation() 31 if (!triangle) { in CreateTriangleAnimation() 34 triangle->UpdateAngle(value); in CreateTriangleAnimation() 42 auto triangle = ref->triangle_.Upgrade(); in CreateTriangleAnimation() 43 if (!triangle) { in CreateTriangleAnimation() 46 triangle->UpdateAngle(value); in CreateTriangleAnimation()
|
H A D | picker_base_component.cpp | 21 #include "core/components/triangle/triangle_component.h" 248 auto triangle = AceType::MakeRefPtr<TriangleComponent>(); in InitializeTitle() local 249 triangle->SetPadding(8.0_vp); // all padding in InitializeTitle() 250 triangle->SetWidth(25.0_vp); // left padding + it width + right padding = 8dp + 9dp + 8dp in InitializeTitle() 251 triangle->SetHeight(22.0_vp); // top padding + it height + bottom padding = 8dp + 6dp + 8dp in InitializeTitle() 252 triangle->SetColor(theme_->GetTitleStyle().GetTextColor()); in InitializeTitle() 262 row->AppendChild(triangle); in InitializeTitle() 264 row->AppendChild(triangle); in InitializeTitle()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | picking.cpp | 107 bool IntersectTriangle(const Math::Vec3 triangle[3], const Math::Vec3 start, const Math::Vec3 direction, in IntersectTriangle() argument 110 const Math::Vec3 v0v1 = triangle[1] - triangle[0]; in IntersectTriangle() 111 const Math::Vec3 v0v2 = triangle[2] - triangle[0]; in IntersectTriangle() 116 // ray and triangle are parallel and backface culling in IntersectTriangle() 123 const Math::Vec3 tvec = start - triangle[0]; in IntersectTriangle()
|
/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/ |
H A D | shadow2_demo.js | 82 let triangle = initVertexBuffersTriangle(gl); 103 draw(gl, shadowProgram, triangle, matrixLight); 115 draw2(gl, program, triangle, matrixCamera, boxImage);
|
/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/ |
H A D | shadow_demo.js | 80 let triangle = initVertexBuffersTriangle(gl); 101 draw(gl, shadowProgram, triangle, matrixLight); 113 draw2(gl, program, triangle, matrixCamera, boxImage);
|
Completed in 5 milliseconds