19 #ifndef FASTUIDRAW_STROKING_ATTRIBUTE_WRITER_HPP 20 #define FASTUIDRAW_STROKING_ATTRIBUTE_WRITER_HPP 94 bool draw_edges =
true);
116 unsigned int attrib_location,
118 unsigned int *num_attribs_written,
119 unsigned int *num_indices_written)
const override;
virtual unsigned int state_length(void) const override
all classes and functions of FastUIDraw are in the namespace fastuidraw.
virtual bool initialize_state(WriteState *state) const override
A PainterStrokeShader holds shaders for stroking. It is to hold shaders for stroking paths linearly o...
virtual bool requires_coverage_buffer(void) const override
enum StrokedPointPacking::cap_type_t m_cp
Provides an interface to write attribute and index data when a simple copy of data from c_array objec...
StrokingMethod specifies how to pack the join and pack values from the source PathEffect::Storage ...
join_style
Enumeration specifying if and how to draw joins when stroking.
A c_array is a wrapper over a C pointer with a size parameter to facilitate bounds checking and provi...
enum PainterEnums::join_style m_js
StrokingAttributeWriter(void)
A StrokingAttributeWriter is an implementation of PainterAttributeWriter for the purpose of stroking ...
file painter_attribute_writer.hpp
void set_source(const PathEffect::Storage &src, const PainterStrokeShader &shader, const StrokingMethod &method, enum PainterEnums::stroking_method_t tp, enum PainterStrokeShader::shader_type_t aa, bool draw_edges=true)
A Storage is to where TessellatedPath::segment, TessellatedPath::join and TessellatedPath::cap values...
virtual void on_new_store(WriteState *state) const override
virtual bool write_data(c_array< PainterAttribute > dst_attribs, c_array< PainterIndex > dst_indices, unsigned int attrib_location, WriteState *state, unsigned int *num_attribs_written, unsigned int *num_indices_written) const override
file painter_stroke_shader.hpp