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

file 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/painter_enums.hpp>
#include <fastuidraw/painter/attribute_data/painter_attribute.hpp>
Include dependency graph for stroked_point.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fastuidraw::StrokedPointPacking::packing_size< T, T >
 Template class taking as argument a PainterEnums::join_style or cap_type_t which defines two enumerations: More...
 
class  fastuidraw::StrokedPoint
 A StrokedPoint holds the data for a point of stroking where all segments are line segments (coming from curve tessellation). The upshot is that the fragment shader does NOT perform any coverage computation for non-dashed stroking. 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::StrokedPointPacking
 Namespace to encompass packing values and functions of path data for stroking using StrokedPoint.
 

Enumerations

enum  fastuidraw::StrokedPointPacking::cap_type_t { fastuidraw::StrokedPointPacking::flat_cap, fastuidraw::StrokedPointPacking::square_cap, fastuidraw::StrokedPointPacking::adjustable_cap, fastuidraw::StrokedPointPacking::rounded_cap }
 

Functions

enum cap_type_t fastuidraw::StrokedPointPacking::cap_type (enum PainterEnums::cap_style cp, bool for_dashed_stroking)
 
void fastuidraw::StrokedPointPacking::pack_cap (enum cap_type_t cp, const TessellatedPath::cap &cap, unsigned int depth, c_array< PainterAttribute > dst_attribs, c_array< PainterIndex > dst_indices, unsigned int index_adjust)
 
void fastuidraw::StrokedPointPacking::pack_join (enum PainterEnums::join_style js, const TessellatedPath::join &join, unsigned int depth, c_array< PainterAttribute > dst_attribs, c_array< PainterIndex > dst_indices, unsigned int index_adjust)
 
void fastuidraw::StrokedPointPacking::pack_rounded_cap_size (float thresh, unsigned int *num_attributes, unsigned int *num_indices)
 
void fastuidraw::StrokedPointPacking::pack_rounded_join_size (const TessellatedPath::join &join, float thresh, unsigned int *num_attributes, unsigned int *num_indices)
 
void fastuidraw::StrokedPointPacking::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::StrokedPointPacking::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::StrokedPointPacking::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::StrokedPointPacking::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 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 stroked_point.hpp.