Flutter Engine
The Flutter Engine
|
#include "src/core/SkRasterClip.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkClipOp.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPath.h"
#include "include/core/SkScalar.h"
#include "include/private/base/SkDebug.h"
#include "src/core/SkRegionPriv.h"
Go to the source code of this file.
Functions | |
static bool | nearly_integral (SkScalar x) |
|
static |
Our antialiasing currently has a granularity of 1/4 of a pixel along each axis. Thus we can treat an axis coordinate as an integer if it differs from its nearest int by < half of that value (1/8 in this case).
Definition at line 144 of file SkRasterClip.cpp.