Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sk_ipoint_t and sk_isize_t should use integer members #67

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions include/c/sk_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ typedef enum {
TRANSLATE_SK_MATRIX44_TYPE_MASK = 0x01,
SCALE_SK_MATRIX44_TYPE_MASK = 0x02,
AFFINE_SK_MATRIX44_TYPE_MASK = 0x04,
PERSPECTIVE_SK_MATRIX44_TYPE_MASK = 0x08
PERSPECTIVE_SK_MATRIX44_TYPE_MASK = 0x08
} sk_matrix44_type_mask_t;

/**
Expand Down Expand Up @@ -293,8 +293,8 @@ typedef struct {
} sk_point3_t;

typedef struct {
float x;
float y;
int32_t x;
int32_t y;
} sk_ipoint_t;

typedef struct {
Expand All @@ -303,8 +303,8 @@ typedef struct {
} sk_size_t;

typedef struct {
float w;
float h;
int32_t w;
int32_t h;
} sk_isize_t;

typedef struct {
Expand Down Expand Up @@ -570,7 +570,7 @@ typedef enum {
INVERTED_SK_PATH_EFFECT_TRIM_MODE,
} sk_path_effect_trim_mode_t;

typedef struct sk_path_effect_t sk_path_effect_t;
typedef struct sk_path_effect_t sk_path_effect_t;

typedef enum {
BUTT_SK_STROKE_CAP,
Expand Down Expand Up @@ -891,8 +891,8 @@ typedef enum {
PAETH_SK_PNGENCODER_FILTER_FLAGS = 0x80,
ALL_SK_PNGENCODER_FILTER_FLAGS = NONE_SK_PNGENCODER_FILTER_FLAGS |
SUB_SK_PNGENCODER_FILTER_FLAGS |
UP_SK_PNGENCODER_FILTER_FLAGS |
AVG_SK_PNGENCODER_FILTER_FLAGS |
UP_SK_PNGENCODER_FILTER_FLAGS |
AVG_SK_PNGENCODER_FILTER_FLAGS |
PAETH_SK_PNGENCODER_FILTER_FLAGS,
} sk_pngencoder_filterflags_t;

Expand Down