20 #ifndef FASTUIDRAW_ARC_STROKED_POINT_HPP 21 #define FASTUIDRAW_ARC_STROKED_POINT_HPP 422 namespace ArcStrokedPointPacking
453 unsigned int *num_attributes,
454 unsigned int *num_indices);
476 unsigned int index_adjust);
498 unsigned int index_adjust);
514 unsigned int *depth_range_size,
515 unsigned int *num_attributes,
516 unsigned int *num_indices);
532 unsigned int *depth_range_size,
533 unsigned int *num_attributes,
534 unsigned int *num_indices);
556 unsigned int depth_start,
559 unsigned int index_adjust);
581 unsigned int depth_start,
584 unsigned int index_adjust);
An ArcStrokedPoint holds the data for a point of stroking where the segments can be arcs of a circle...
#define FASTUIDRAW_MASK(BIT0, NUMBITS)
uint32_t unpack_bits(uint32_t bit0, uint32_t num_bits, uint32_t value)
all classes and functions of FastUIDraw are in the namespace fastuidraw.
float m_distance_from_contour_start
Represents the geometric data for a join.
file tessellated_path.hpp
Represents the geometric data for a cap.
void pack_cap(const TessellatedPath::cap &cap, unsigned int depth, c_array< PainterAttribute > dst_attribs, c_array< PainterIndex > dst_indices, unsigned int index_adjust)
float arc_angle(void) const
float m_distance_from_edge_start
void pack_segment_chain_size(const TessellatedPath::segment_chain &chain, unsigned int *depth_range_size, unsigned int *num_attributes, unsigned int *num_indices)
void pack_join(const TessellatedPath::join &join, unsigned int depth, c_array< PainterAttribute > dst_attribs, c_array< PainterIndex > dst_indices, unsigned int index_adjust)
void pack_join_size(const TessellatedPath::join &join, unsigned int *num_attributes, unsigned int *num_indices)
The attribute data generated/filled by Painter. Attribute data is sent to 3D API as raw bits with the...
void pack_segment_chain(const TessellatedPath::segment_chain &chain, unsigned int depth_start, c_array< PainterAttribute > dst_attribs, c_array< PainterIndex > dst_indices, unsigned int index_adjust)
void depth(const uint32_t v)
enum offset_type_t offset_type(void) const
packed_data_bit_stroking_boundary_t
uint32_t depth(void) const
packed_data_bit_masks_t
Enumeration holding bit masks generated from values in packed_data_bit_layout_common_t.
A c_array is a wrapper over a C pointer with a size parameter to facilitate bounds checking and provi...
offset_type_t
Enumeration type to specify how to compute the location of an ArcStrokedPoint.
uint32_t pack_bits(uint32_t bit0, uint32_t num_bits, uint32_t value)
packed_data_bit_layout_common_t
Enumeration encoding of bits of m_packed_data common to all offset types.
file painter_attribute.hpp
packed_data_bit_arc_point_dashed_capper
static void unpack_point(ArcStrokedPoint *dst, const PainterAttribute &src)
void pack_point(PainterAttribute *dst) const