Lines Matching refs:m_storage
73 path_storage_integer() : m_storage(), m_vertex_idx(0), m_closed(true) {} in path_storage_integer()
76 void remove_all() { m_storage.remove_all(); } in remove_all()
81 m_storage.add(vertex_integer_type(x, y, vertex_integer_type::cmd_move_to)); in move_to()
87 m_storage.add(vertex_integer_type(x, y, vertex_integer_type::cmd_line_to)); in line_to()
94 m_storage.add(vertex_integer_type(x_ctrl, y_ctrl, vertex_integer_type::cmd_curve3)); in curve3()
95 m_storage.add(vertex_integer_type(x_to, y_to, vertex_integer_type::cmd_curve3)); in curve3()
103 m_storage.add(vertex_integer_type(x_ctrl1, y_ctrl1, vertex_integer_type::cmd_curve4)); in curve4()
104 m_storage.add(vertex_integer_type(x_ctrl2, y_ctrl2, vertex_integer_type::cmd_curve4)); in curve4()
105 m_storage.add(vertex_integer_type(x_to, y_to, vertex_integer_type::cmd_curve4)); in curve4()
112 unsigned size() const { return m_storage.size(); } in size()
115 return m_storage[idx].vertex(x, y); in vertex()
119 unsigned byte_size() const { return m_storage.size() * sizeof(vertex_integer_type); } in byte_size()
123 for(i = 0; i < m_storage.size(); i++) in serialize()
125 memcpy(ptr, &m_storage[i], sizeof(vertex_integer_type)); in serialize()
140 if(m_storage.size() < 2 || m_vertex_idx > m_storage.size()) in vertex()
146 if(m_vertex_idx == m_storage.size()) in vertex()
153 unsigned cmd = m_storage[m_vertex_idx].vertex(x, y); in vertex()
170 if(m_storage.size() == 0) in bounding_rect()
177 for(i = 0; i < m_storage.size(); i++) in bounding_rect()
180 m_storage[i].vertex(&x, &y); in bounding_rect()
191 pod_bvector<vertex_integer_type, 6> m_storage;