Lines Matching defs:ClipArea
16 #include "ClipArea.h"
186 * ClipArea
189 ClipArea::ClipArea()
197 void ClipArea::setViewportDimensions(int width, int height) {
203 void ClipArea::setEmpty() {
211 void ClipArea::setClip(float left, float top, float right, float bottom) {
218 void ClipArea::clipRectWithTransform(const Rect& r, const mat4* transform,
236 void ClipArea::clipRegion(const SkRegion& region, SkRegion::Op op) {
245 void ClipArea::clipPathWithTransform(const SkPath& path, const mat4* transform,
265 void ClipArea::enterRectangleMode() {
272 void ClipArea::rectangleModeClipRectWithTransform(const Rect& r,
300 void ClipArea::enterRectangleListMode() {
309 void ClipArea::rectangleListModeClipRectWithTransform(const Rect& r,
322 void ClipArea::enterRegionMode() {
335 void ClipArea::regionModeClipRectWithTransform(const Rect& r,
344 void ClipArea::onClipRegionUpdated() {
361 const ClipBase* ClipArea::serializeClip(LinearAllocator& allocator) {
405 static bool cannotFitInRectangleList(const ClipArea& clipArea, const ClipBase* scb) {
406 int currentRectCount = clipArea.isRectangleList()
407 ? clipArea.getRectangleList().getTransformedRectanglesCount()
417 const ClipBase* ClipArea::serializeIntersectedClip(LinearAllocator& allocator,
512 void ClipArea::applyClip(const ClipBase* clip, const Matrix4& transform) {
532 void ClipArea::applyTransformToRegion(const Matrix4& transform, SkRegion* region) {