/* * Copyright 2009 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file.
*/
/** This class is initialized with a clip rectangle, and then can be fed quads, which must already be monotonic in Y.
In the future, it might return a series of segments, allowing it to clip also in X, to ensure that all segments fit in a finite coordinate system.
*/ class SkQuadClipper { public:
SkQuadClipper();
/** Iterator that returns the clipped segements of a quad clipped to a rect. The segments will be either lines or quads (based on SkPath::Verb), and will all be monotonic in Y
*/ class SkQuadClipper2 { public: bool clipQuad(const SkPoint pts[3], const SkRect& clip); bool clipCubic(const SkPoint pts[4], const SkRect& clip);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.