CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
brush.h
1
2#ifndef _aspose_system_drawing_brush_h_
3#define _aspose_system_drawing_brush_h_
4
5#include "system/icloneable.h"
6#include "drawing2d/wrap_mode.h"
7#include "drawing2d/matrix.h"
8
10ASPOSECPP_3RD_PARTY_CLASS(SkPaint);
11
12namespace System { namespace Drawing {
17class ASPOSECPP_SHARED_CLASS Brush : public System::ICloneable, public System::IDisposable
18{
20 RTTI_INFO(System::Drawing::Brush, ::System::BaseTypesInfo<System::ICloneable>)
21
22#ifdef __DBG_FOR_EACH_MEMBER
23public:
26 ASPOSECPP_SHARED_API void DBG_for_each_member(DBG::for_each_member_visitor& visitor) const
27 {
28 System::Object::DBG_for_each_member(visitor);
29
30 visitor.add_self(this);
31 }
34 const char* DBG_class_name() const override { return "Brush"; }
35#endif
36
37protected:
38 friend class Graphics;
39 friend class Pen;
44 virtual ASPOSECPP_SHARED_API void Apply(SkPaint &paint, const SharedPtr<Drawing2D::Matrix>& matrix, bool apply_shift = false) {};
45};
46
47}}
48
49
50#endif
A base class for classes that represent fillers used to fill the interiors of graphical shapes....
Definition: brush.h:18
virtual void Apply(SkPaint &paint, const SharedPtr< Drawing2D::Matrix > &matrix, bool apply_shift=false)
Sets the properties of the current brush on the specified SkPaint object.
Definition: brush.h:44
Represents a drawing surface. Objects of this class should only be allocated using System::MakeObject...
Definition: graphics.h:68
Represents properties such as color, width etc. of the lines and curves being drawn....
Definition: pen.h:48
Defies a method that enables object cloning - creating a copy of an object. Objects of this class sho...
Definition: icloneable.h:16
Defines method that releases resources owned by the current object. Objects of this class should only...
Definition: idisposable.h:30
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9