FastUIDraw
Classes | Namespaces | Enumerations | Functions
arc_stroked_point.hpp File Reference

file arc_stroked_point.hpp More...

#include <fastuidraw/util/vecN.hpp>
#include <fastuidraw/util/util.hpp>
#include <fastuidraw/util/c_array.hpp>
#include <fastuidraw/tessellated_path.hpp>
#include <fastuidraw/painter/attribute_data/painter_attribute.hpp>
Include dependency graph for arc_stroked_point.hpp:

Go to the source code of this file.

Classes

class  fastuidraw::ArcStrokedPoint
 An ArcStrokedPoint holds the data for a point of stroking where the segments can be arcs of a circle. The upshot is that a fragment shader will determine per-pixel coverage. In addition, the data is so that changing the stroking width or miter limit does not change the stroking data. More...
 

Namespaces

 fastuidraw
 all classes and functions of FastUIDraw are in the namespace fastuidraw.
 
 fastuidraw::ArcStrokedPointPacking
 Namespce to encompass packing values and functions of path data for stroking using ArcStrokedPoint.
 

Enumerations

enum  { arcs_per_cap = 4, fastuidraw::ArcStrokedPointPacking::num_attributes_per_cap = 3 * arcs_per_cap + 2, fastuidraw::ArcStrokedPointPacking::num_indices_per_cap = 9 * arcs_per_cap }
 

Functions

void fastuidraw::ArcStrokedPointPacking::pack_cap (const TessellatedPath::cap &cap, unsigned int depth, c_array< PainterAttribute > dst_attribs, c_array< PainterIndex > dst_indices, unsigned int index_adjust)
 
void fastuidraw::ArcStrokedPointPacking::pack_join (const TessellatedPath::join &join, unsigned int depth, c_array< PainterAttribute > dst_attribs, c_array< PainterIndex > dst_indices, unsigned int index_adjust)
 
void fastuidraw::ArcStrokedPointPacking::pack_join_size (const TessellatedPath::join &join, unsigned int *num_attributes, unsigned int *num_indices)
 
void fastuidraw::ArcStrokedPointPacking::pack_segment_chain (c_array< const TessellatedPath::segment_chain > chains, unsigned int depth_start, c_array< PainterAttribute > dst_attribs, c_array< PainterIndex > dst_indices, unsigned int index_adjust)
 
void fastuidraw::ArcStrokedPointPacking::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 fastuidraw::ArcStrokedPointPacking::pack_segment_chain_size (c_array< const TessellatedPath::segment_chain > chains, unsigned int *depth_range_size, unsigned int *num_attributes, unsigned int *num_indices)
 
void fastuidraw::ArcStrokedPointPacking::pack_segment_chain_size (const TessellatedPath::segment_chain &chain, unsigned int *depth_range_size, unsigned int *num_attributes, unsigned int *num_indices)
 

Detailed Description

file arc_stroked_point.hpp

Copyright 2018 by Intel.

Contact: kevin.nosp@m..rog.nosp@m.ovin@.nosp@m.gmai.nosp@m.l.com

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Author
Kevin Rogovin kevin.nosp@m..rog.nosp@m.ovin@.nosp@m.gmai.nosp@m.l.com

Definition in file arc_stroked_point.hpp.