Lines Matching defs:DrawPolygon
33 gfx::Vector3dF DrawPolygon::default_normal = gfx::Vector3dF(0.0f, 0.0f, -1.0f);
35 DrawPolygon::DrawPolygon() {
38 DrawPolygon::DrawPolygon(DrawQuad* original,
52 DrawPolygon::DrawPolygon(DrawQuad* original_ref,
75 DrawPolygon::~DrawPolygon() {
78 scoped_ptr<DrawPolygon> DrawPolygon::CreateCopy() {
79 DrawPolygon* new_polygon = new DrawPolygon();
87 return scoped_ptr<DrawPolygon>(new_polygon);
90 float DrawPolygon::SignedPointDistance(const gfx::Point3F& point) const {
98 BspCompareResult DrawPolygon::SideCompare(const DrawPolygon& a,
99 const DrawPolygon& b) {
200 void DrawPolygon::ApplyTransformToNormal(const gfx::Transform& transform) {
219 void DrawPolygon::ApplyTransform(const gfx::Transform& transform) {
228 void DrawPolygon::TransformToScreenSpace(const gfx::Transform& transform) {
237 void DrawPolygon::TransformToLayerSpace(
243 bool DrawPolygon::Split(const DrawPolygon& splitter,
244 scoped_ptr<DrawPolygon>* front,
245 scoped_ptr<DrawPolygon>* back) {
304 scoped_ptr<DrawPolygon> poly1(
305 new DrawPolygon(original_ref_, out_points[0], normal_, order_index_));
306 scoped_ptr<DrawPolygon> poly2(
307 new DrawPolygon(original_ref_, out_points[1], normal_, order_index_));
330 void DrawPolygon::ToQuads2D(std::vector<gfx::QuadF>* quads) const {