#include"vbrush.h"
#include"vpainter.h"
+V_USE_NAMESPACE
+
enum class DirtyFlagBit
{
None = 0x0001,
#include"vbrush.h"
#include"vpath.h"
+V_USE_NAMESPACE
class LOTCompositionData;
class LOTLayerData;
#include<cmath>
+V_BEGIN_NAMESPACE
+
// Approximate sqrt(x*x + y*y) using the alpha max plus beta min algorithm.
// This uses alpha = 1, beta = 3/8, which results in a maximum error of less
// than 7% compared to the correct value.
right->parameterSplitLeft(t, left);
}
-
+V_END_NAMESPACE
#include <vpoint.h>
+V_BEGIN_NAMESPACE
+
class VBezier
{
public:
firstHalf->y4 = secondHalf->y1 = (firstHalf->y3 + secondHalf->y2)*.5;
}
+V_END_NAMESPACE
#endif //VBEZIER_H
#include "vglobal.h"
#include<string.h>
+V_BEGIN_NAMESPACE
+
struct VBitmapData
{
~VBitmapData();
return;
}
+V_END_NAMESPACE
#include "vrect.h"
+V_BEGIN_NAMESPACE
+
struct VBitmapData;
typedef void (*VBitmapCleanupFunction)(void *);
class VBitmap
VBitmapData *d;
};
+V_END_NAMESPACE
+
#endif // VBITMAP_H
#include"vbrush.h"
+V_BEGIN_NAMESPACE
+
VGradient::VGradient(VGradient::Type type):mType(type), mSpread(VGradient::Spread::Pad), mMode(VGradient::Mode::Absolute)
{
mType = VBrush::Type::RadialGradient;
}
}
+
+V_END_NAMESPACE
#include"vmatrix.h"
#include<vector>
+V_BEGIN_NAMESPACE
+
typedef std::pair<float, VColor> VGradientStop;
typedef std::vector<VGradientStop> VGradientStops;
class VGradient
const VGradient *mGradient;
};
+V_END_NAMESPACE
+
#endif // VBRUSH_H
#include"vdasher.h"
#include"vbezier.h"
+V_BEGIN_NAMESPACE
+
class VLine
{
public:
return mDashedPath;
}
+V_END_NAMESPACE
#ifndef VDASHER_H
#define VDASHER_H
#include "vpath.h"
+
+V_BEGIN_NAMESPACE
+
class VDasher
{
public:
float mDashOffset;
VPath mDashedPath;
};
+
+V_END_NAMESPACE
+
#endif // VDASHER_H
#include"assert.h"
#include<cstring>
+V_USE_NAMESPACE
+
struct VSpanData;
struct Operator;
typedef uint8_t uchar;
+#if !defined(V_NAMESPACE)
+
+# define V_USE_NAMESPACE
+# define V_BEGIN_NAMESPACE
+# define V_END_NAMESPACE
+
+#else /* user namespace */
+
+# define V_USE_NAMESPACE using namespace ::V_NAMESPACE;
+# define V_BEGIN_NAMESPACE namespace V_NAMESPACE {
+# define V_END_NAMESPACE }
+
+#endif
+
#define V_UNUSED __attribute__((__unused__))
#define V_REQUIRED_RESULT __attribute__ ((__warn_unused_result__))
#include"vinterpolator.h"
#include<cmath>
+V_BEGIN_NAMESPACE
+
#define NEWTON_ITERATIONS 4
#define NEWTON_MIN_SLOPE 0.02
#define SUBDIVISION_PRECISION 0.0000001
return currentT;
}
+
+V_END_NAMESPACE
#include "vpoint.h"
+V_BEGIN_NAMESPACE
+
class VInterpolator
{
public:
float mSampleValues[kSplineTableSize];
static const float kSampleStepSize;
};
+
+V_END_NAMESPACE
+
#endif // VINTERPOLATOR_H
#include<cassert>
#include<vglobal.h>
+V_BEGIN_NAMESPACE
+
/* m11 m21 mtx
* m12 m22 mty
* m13 m23 m33
return d->m33;
}
+V_END_NAMESPACE
#include "vregion.h"
#include "vglobal.h"
+V_BEGIN_NAMESPACE
+
struct VMatrixData;
class VMatrix
{
return map(VPointF(x, y));
}
+V_END_NAMESPACE
+
#endif // VMATRIX_H
#include"vpainter.h"
#include"vdrawhelper.h"
+V_BEGIN_NAMESPACE
+
class VPainterImpl
{
public:
{
mImpl->drawRle(pos, rle);
}
+
+V_END_NAMESPACE
#include"vrle.h"
#include"vbrush.h"
+V_BEGIN_NAMESPACE
+
class VBitmap;
class VPainterImpl;
class VPainter {
VPainterImpl *mImpl;
};
+V_END_NAMESPACE
+
#endif //VPAINTER_H
#include"vbezier.h"
#include "vrect.h"
+V_BEGIN_NAMESPACE
+
struct VPathData
{
void copy(VPathData *o);
detach();
d->transform(m);
}
+
+V_END_NAMESPACE
#include "vmatrix.h"
#include<vector>
+V_BEGIN_NAMESPACE
+
struct VPathData;
class VPath
{
cubicTo(VPointF(c1x, c1y), VPointF(c2x, c2y), VPointF(ex, ey));
}
+V_END_NAMESPACE
+
#endif // VPATH_H
#include"vpathmesure.h"
+V_BEGIN_NAMESPACE
+
class VPathMesureData
{
VPath *path;
-};
\ No newline at end of file
+};
+
+V_END_NAMESPACE
#include "vpath.h"
+V_BEGIN_NAMESPACE
+
class VPathMesureData;
class VPathMesure
{
VPathMesureData *d;
};
+V_END_NAMESPACE
+
#endif // VPATHMESURE_H
#include"vglobal.h"
+V_BEGIN_NAMESPACE
+
class VPointF
{
public:
inline VSize &VSize::operator-=(const VSize &p) noexcept
{ mw-=p.mw; mh-=p.mh; return *this; }
+V_END_NAMESPACE
+
#endif // VPOINT_H
#include<cstring>
#include"vdebug.h"
+V_BEGIN_NAMESPACE
+
struct FTOutline
{
public:
return d->generateStrokeInfoAsync(&outline->ft, ftCap, ftJoin,
ftWidth, ftMeterLimit, ftbool);
}
+
+V_END_NAMESPACE
#include"vrle.h"
#include<future>
+V_BEGIN_NAMESPACE
+
struct FTOutline;
class VPath;
VRaster();
VRasterPrivate *d;
};
+
+V_END_NAMESPACE
+
#endif // VRASTER_H
#include"vglobal.h"
#include"vpoint.h"
+V_BEGIN_NAMESPACE
+
class VRect
{
public:
V_CONSTEXPR inline float VRectF::height() const
{ return y2 - y1; }
+V_END_NAMESPACE
+
#endif // VRECT_H
#include "vregion.h"
+V_BEGIN_NAMESPACE
+
static VRegionPrivate regionPrivate = {{0,0,0,0}, NULL};
const VRegion::VRegionData VRegion::shared_empty = {RefCount(-1), ®ionPrivate};
}
+V_END_NAMESPACE
+
#include<vpoint.h>
#include<utility>
+V_BEGIN_NAMESPACE
+
typedef struct pixman_region region_type_t;
typedef region_type_t VRegionPrivate;
{
return translated(VPoint(dx,dy));
}
+
+V_END_NAMESPACE
+
#endif //VREGION_H
#include"vdebug.h"
#include"vregion.h"
+V_BEGIN_NAMESPACE
+
struct VRleHelper
{
ushort alloc;
return os;
}
+V_END_NAMESPACE
#include<vrect.h>
#include<vpoint.h>
+V_BEGIN_NAMESPACE
+
struct VRleData;
class VRle
{
return (rle * alpha);
}
+V_END_NAMESPACE
+
#endif // VRLE_H