Searched refs:Paint (Results 1 – 25 of 25) sorted by relevance
79 static Result _compFastTrack(RenderMethod* renderer, Paint* cmpTarget, const Matrix& pm, RenderRegi… in _compFastTrack()141 RenderRegion Paint::Impl::bounds(RenderMethod* renderer) const in bounds()149 Iterator* Paint::Impl::iterator() in iterator()157 Paint* Paint::Impl::duplicate(Paint* ret) in duplicate()176 bool Paint::Impl::rotate(float degree) in rotate()187 bool Paint::Impl::scale(float factor) in scale()198 bool Paint::Impl::translate(float x, float y) in translate()210 bool Paint::Impl::render(RenderMethod* renderer) in render()239 RenderData Paint::Impl::update(RenderMethod* renderer, const Matrix& pm, Array<RenderData>& clips, … in update()313 bool Paint::Impl::bounds(float* x, float* y, float* w, float* h, bool transformed, bool stroking, b… in bounds()[all …]
39 virtual const Paint* next() = 0;46 Paint* target;47 Paint* source;51 struct Paint::Impl53 Paint* paint = nullptr;55 Paint* clipper = nullptr;84 Impl(Paint* pnt) : paint(pnt) in Impl()128 void clip(Paint* clp) in clip()142 bool composite(Paint* source, Paint* target, CompositeMethod method) in composite()177 Paint* duplicate(Paint* ret = nullptr);
33 static bool accessChildren(Iterator* it, function<bool(const Paint* paint, void* data)> func, void*… in accessChildren()56 …r<Picture> Accessor::set(unique_ptr<Picture> picture, function<bool(const Paint* paint)> func) noe… in set()58 auto backward = [](const tvg::Paint* paint, void* data) -> bool in set()60 auto func = reinterpret_cast<function<bool(const Paint* paint)>*>(data); in set()70 Result Accessor::set(const Picture* picture, function<bool(const Paint* paint, void* data)> func, v… in set()
301 class TVG_API Paint304 virtual ~Paint();379 Result composite(std::unique_ptr<Paint> target, CompositeMethod method) noexcept;393 Result clip(std::unique_ptr<Paint> clipper) noexcept;436 Paint* duplicate() const noexcept;454 CompositeMethod composite(const Paint** target) const noexcept;481 _TVG_DECLARE_PRIVATE(Paint);619 std::list<Paint*>& paints() noexcept;635 virtual Result push(std::unique_ptr<Paint> paint) noexcept;662 virtual Result update(Paint* paint = nullptr) noexcept;[all …]
36 Paint* paint = nullptr;37 Paint* ptr = nullptr;39 PictureIterator(Paint* p) : paint(p) {} in PictureIterator()41 const Paint* next() override in next()65 Paint* paint = nullptr; //vector picture uses159 Paint* duplicate(Paint* ret) in duplicate()
99 return (Tvg_Result) reinterpret_cast<Canvas*>(canvas)->push(unique_ptr<Paint>((Paint*)paint)); in tvg_canvas_push()126 return (Tvg_Result) reinterpret_cast<Canvas*>(canvas)->update((Paint*) paint); in tvg_canvas_update_paint()158 delete(reinterpret_cast<Paint*>(paint)); in tvg_paint_del()166 return (Tvg_Result) reinterpret_cast<Paint*>(paint)->scale(factor); in tvg_paint_scale()173 return (Tvg_Result) reinterpret_cast<Paint*>(paint)->rotate(degree); in tvg_paint_rotate()180 return (Tvg_Result) reinterpret_cast<Paint*>(paint)->translate(x, y); in tvg_paint_translate()187 …return (Tvg_Result) reinterpret_cast<Paint*>(paint)->transform(*(reinterpret_cast<const Matrix*>(m… in tvg_paint_set_transform()194 *reinterpret_cast<Matrix*>(m) = reinterpret_cast<Paint*>(paint)->transform(); in tvg_paint_get_transform()202 return (Tvg_Paint*) reinterpret_cast<Paint*>(paint)->duplicate(); in tvg_paint_duplicate()209 return (Tvg_Result) reinterpret_cast<Paint*>(paint)->opacity(opacity); in tvg_paint_set_opacity()[all …]
49 list<Paint*>& Canvas::paints() noexcept in paints()55 Result Canvas::push(unique_ptr<Paint> paint) noexcept in push()77 Result Canvas::update(Paint* paint) noexcept in update()
56 virtual bool resize(Paint* paint, float w, float h) { return false; } in resize()91 virtual Paint* paint() { return nullptr; } in paint()108 virtual bool transform(Paint* paint, float fontSize, bool italic) = 0;
34 list<Paint*>* paints;35 list<Paint*>::iterator itr;37 SceneIterator(list<Paint*>* p) : paints(p) in SceneIterator()42 const Paint* next() override in next()63 list<Paint*> paints;229 Paint* duplicate(Paint* ret) in duplicate()
39 virtual bool save(Paint* paint, const string& path, bool compress) = 0;40 …virtual bool save(Animation* animation, Paint* bg, const string& path, uint32_t quality, uint32_t …
50 bool resize(Paint* paint, float w, float h) override;54 Paint* paint() override;
60 bool resize(Paint* paint, float w, float h) override;62 Paint* paint() override;
68 const Paint* target; in needComposition()214 const Paint* Picture::paint(uint32_t id) noexcept in paint()219 const Paint* ret; in paint()222 auto cb = [](const tvg::Paint* paint, void* data) -> bool in paint()
44 Paint* bg = nullptr;123 Result Saver::save(std::unique_ptr<Paint> paint, const string& path, bool compress) noexcept in save()149 Result Saver::background(unique_ptr<Paint> paint) noexcept in background()
36 list<Paint*> paints;65 Result push(unique_ptr<Paint> paint) in push()91 Result update(Paint* paint, bool force) in update()
79 Result Scene::push(unique_ptr<Paint> paint) noexcept in push()104 list<Paint*>& Scene::paints() noexcept in paints()
38 static Iterator* iterator(const Paint* paint) in iterator()
251 bool LottieLoader::resize(Paint* paint, float w, float h) in resize()261 const Paint* clipper; in resize()263 if (clipper) const_cast<Paint*>(clipper)->transform(m); in resize()282 Paint* LottieLoader::paint() in paint()
145 Paint* duplicate(Paint* ret) in duplicate()
82 #define PP(A) (((Paint*)(A))->pImpl) //Access to pimpl.
72 if (((from->fill.flags & SvgFillFlags::Paint) && !(to->flags & SvgStyleFlags::Fill)) || in _copyStyle()81 to->fill.flags = (to->fill.flags | SvgFillFlags::Paint); in _copyStyle()106 if (((from->stroke.flags & SvgStrokeFlags::Paint) && !(to->flags & SvgStyleFlags::Stroke)) || in _copyStyle()115 to->stroke.flags = (to->stroke.flags | SvgStrokeFlags::Paint); in _copyStyle()
85 const Paint* target; in needComposition()354 Paint* duplicate(Paint* ret) in duplicate()
79 Paint = 0x01, enumerator98 Paint = 0x1, enumerator
1039 style->fill.flags = (style->fill.flags | SvgFillFlags::Paint); in _handleFillAttr()1047 style->stroke.flags = (style->stroke.flags | SvgStrokeFlags::Paint); in _handleStrokeAttr()2979 if (!(child->fill.flags & SvgFillFlags::Paint)) { in _styleInherit()2995 if (!(child->stroke.flags & SvgStrokeFlags::Paint)) { in _styleInherit()3053 if (from->fill.flags & SvgFillFlags::Paint) { in _styleCopy()3070 if (from->stroke.flags & SvgStrokeFlags::Paint) { in _styleCopy()3975 bool SvgLoader::resize(Paint* paint, float w, float h) in resize()4010 Paint* SvgLoader::paint() in paint()
234 static Matrix _compositionTransform(Paint* paint, const SvgNode* node, const SvgNode* compNode, Svg… in _compositionTransform()254 static void _applyComposition(SvgLoaderData& loaderData, Paint* paint, const SvgNode* node, const B… in _applyComposition()