KiCad PCB EDA Suite
|
#include <pcb_test_frame.h>
#include <tool/tool_manager.h>
#include <gal/graphics_abstraction_layer.h>
#include <view/view.h>
#include <view/view_item.h>
#include <pcb_draw_panel_gal.h>
#include <layer_ids.h>
Go to the source code of this file.
Classes | |
class | MY_DRAWING |
class | MY_PCB_TEST_FRAME |
Functions | |
const VECTOR2D | xform2 (const MATRIX3x3D &minv, const VECTOR2D &p) |
void | screenSpaceLine (KIGFX::GAL *gal, const VECTOR2D &p0, const VECTOR2D &p1, double w) |
void | screenSpaceCircle (KIGFX::GAL *gal, const VECTOR2D &p0, double r, double w) |
wxFrame * | CreateMainFrame (const std::string &aFileName) |
wxFrame * CreateMainFrame | ( | const std::string & | aFileName | ) |
Definition at line 212 of file test_gal_pixel_alignment.cpp.
void screenSpaceCircle | ( | KIGFX::GAL * | gal, |
const VECTOR2D & | p0, | ||
double | r, | ||
double | w | ||
) |
Definition at line 46 of file test_gal_pixel_alignment.cpp.
References KIGFX::GAL::DrawCircle(), KIGFX::GAL::GetScreenWorldMatrix(), KIGFX::GAL::SetLineWidth(), and xform2().
void screenSpaceLine | ( | KIGFX::GAL * | gal, |
const VECTOR2D & | p0, | ||
const VECTOR2D & | p1, | ||
double | w | ||
) |
Definition at line 17 of file test_gal_pixel_alignment.cpp.
References KIGFX::GAL::DrawLine(), KIGFX::GAL::GetScreenWorldMatrix(), KIGFX::GAL::SetLineWidth(), and xform2().
Referenced by MY_DRAWING::ViewDraw().
const VECTOR2D xform2 | ( | const MATRIX3x3D & | minv, |
const VECTOR2D & | p | ||
) |
Definition at line 11 of file test_gal_pixel_alignment.cpp.
Referenced by screenSpaceCircle(), and screenSpaceLine().